Check each cell to find values

JohnsonFelix

New Member
Joined
Jul 22, 2011
Messages
15
Hi,

I have values in column a1,b1,c1, I would need an if function in Cell D1.

Condition is, if I have values available C1 then it is highest priority, if C1 doesn't have any values or any error then it has to check b1, if B1 has values then b1 is second priority, if error, it has to check cell A1 and vice versa

Do I get if function for this conditions?

regards
Johnson
 
OK, I think you misunderstood what I was suggesting.

Since A1:C1 can return errors, I am guessing that there are actually formulas (and not hard-coded values) in those cells. Am I right?
If so, update THOSE formulas with the IFERROR code.

So, whatever the current formula in cell A1 is, change it to this:
=IFERROR(original formula,"")

And then do the same for B1 and C1.

So then there would not be any errors in any of those cells, and my original formula I posted for you in my first reply should work.
Otherwise, if try to handle the errors in the other formula, it gets really messy and complex.
 
Upvote 0

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes

Forum statistics

Threads
1,216,083
Messages
6,128,718
Members
449,465
Latest member
TAKLAM

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