If cell is blank then search for Value above.

kiasor

New Member
Joined
Apr 29, 2019
Messages
13
Office Version
  1. 365
Platform
  1. Windows
Morning all,

I am sure someone here on MrExcel will be able to help with this as the community is so knowledgeable.

I will attach a file image to help explain what i am trying to do.

But basically:

  • Column H (Actual finish date has some blanks)
  • Column A is order A-Z and if the value in column A is the same then i want to copy the date down into the blanks
  • The curve ball is that further down this database there could be 20+ blanks attached to the same order number with a date only on the top order.
I can solve it if there is just one blank underneath - i inserted another column before H and i used the formula =IF(A16=A15,I15,I16) like so:
 

Attachments

  • Mr excel.JPG
    Mr excel.JPG
    164 KB · Views: 3
Another improvement! all the dates that don't need action are now filled.

Thanks so much for your help on this.

But there are now some #CALC! errors. seems to start looking slightly above the cell after a few rows where no action was needed / only a single order?

Note: i can see the RED section is usually looking in the cells adjacent, i noticed it gaps up like this after the above scenario.

Note - If its easier we could use the previous formula and get that to look up and down, then i could combine the columns in a separate equation / function?

Mrexcel 6.JPG
 
Upvote 0

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
You need to adjust the ranges to match your actual data.
 
Upvote 0
I don't think so. i pasted it into row 2 and then filled down and it works fine. except it starts to build this GAP like so after this row?

so in H31 its still fine.

Then because it was a row with a single order and it had a date in (so that particular order was actually one of the few that's fine)...... after the next row it starts to form a gap (RED).

here it is working up until here.

Mrexcel 7.JPG


Then next row. i have drawn a red arrow.

Mrexcel 8.JPG
 
Upvote 0
Can you see what i mean?

Ahhh i think i see whats gone wrong. The range is fixed $I$2:$I$30 - so after this row it stops working from then onwards.

Could that part be made dynamic?
 
Upvote 0

Forum statistics

Threads
1,215,425
Messages
6,124,824
Members
449,190
Latest member
rscraig11

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top