Return value, if blank then return value of another cell

mlu120

New Member
Joined
Dec 4, 2011
Messages
39
Hi,

I want a formula that will return with the value of cell A1 but if cell A1 is blank, then it will take only the value of C1.

I tried using this formula - not working right.

Thanks ;)
 
Hi, I need some help with a formula.

I have a £ in cell d7 & want that to populate into cell f7 as a default. But if there's a value in f14 I want that to then take over & be the default for cell f7. So if f14 is blank or 0 I want it to pull d7 but if not return f14 into f7....

If you can help that'd be great!
 
Upvote 0

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
Hi All,
This is very helpful. I'd like to add to the first question. What if c1 is also blank and I want the value of D1? Would this be a nested if statement? If so, how would you write it?
 
Upvote 0
Hi,

It'll be:

Excel Formula:
=IF(A1="",IF(C1="",D1,C1),A1)
Hi Jtakw,
Thanks a million for your help. This works perfectly. I tried so many variations but couldn't get it right. Truly appreciate the help.
 
Upvote 0
You're welcome, thanks for the feedback.
 
Upvote 0
Hi,

It'll be:

Excel Formula:
=IF(A1="",IF(C1="",D1,C1),A1)

Hi @jtakw

I need something very similar to this, but am having trouble re-conjugating the above formula to suit my needs. Are you still hanging around and available to help?

Here's is basically what I am trying to accomplish, though a simplified version, as my cells are not adjacent.

= D
If D = 0, then = C
If C = 0, then = B
If B = 0, then = A

Thank you
 
Upvote 0

Forum statistics

Threads
1,223,529
Messages
6,172,841
Members
452,484
Latest member
vmexwindy

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