IF statement condition row by row until satisfied

maeyks

Board Regular
Joined
Aug 20, 2010
Messages
127
Good day,

is there a way to make an IF statement, row per row? The condition is that A2 is blank, then if will look at A3, if still blank, it will proceed to A4, etc.

Thanks
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
With VBA, yes !
But what do you want to happen if A2.....is NOT blank ??
 
Upvote 0
Hi,

Basically here is what I want to do:

1) I have for 5 fruits: apple, banana, grapes, lemon and strawberry
2) I have the whole month of April, 1 to 30th, cells A1, A2, ~ A30
3) On B1 the value will be apple until B30 and then on A31 the date will be April 1 again and on B31 will now be banana

The question is, what will be my formula on columns A and B?

Thank you
 
Upvote 0

Forum statistics

Threads
1,223,236
Messages
6,170,915
Members
452,366
Latest member
TePunaBloke

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