excel - Creating a formula to copy cells depending on adjacent cells -


i've got spreadsheet of company names , associated websites next of them. need create formula fill in missing website data correct data when website next company name.

for instance in screenshot below, value in b3 needs copied b2. same b7 b6. , b13 b12 , b11 , fourth.

some companies have no website @ if website present next last duplicate company name.

how create formula this? i'm not sure start don't mind creating new columns , moving data around , sorting etc. if necessary.

enter image description here

to deal company no web site start with:

copy column c values except when countif 1 (insert unique identifier instead, maybe ¬)

then (courtesy of @simoco):

select entire range data. press ctrl+g , select special.
choose blanks , press ok.
selected cells type = , press ↑ key. press ctrl+enter.
if want can copy result , make pastespecial-->paste values.

and finally:

replace ¬ nothing.


Comments

Popular posts from this blog

java - Intellij Synchronizing output directories .. -

git - Initial Commit: "fatal: could not create leading directories of ..." -