If Formula Referencing Cell with Formula that can Return ""

Status
Not open for further replies.

mjohnston0209

Board Regular
Joined
Nov 6, 2017
Messages
55
I have an IF formula in Column C that references Columns A and B depending on the value in Column A. Column A contains a formula that references another worksheet. The Column A formula pulls a value, but it returns "" if the cell referenced is empty. That purpose is to show the cell as empty or no value.

My question relates to Column C. The IF formula in Column C states that if the Column A is blank (i.e. ""), then pull the value in Column B. However, since the formula in Column A returns "" (even though you don't see a value) in certain instances, the If formula returns a value in Column A. How do you get around this?

My current formula for cell C1:

Excel Formula:
Excel Formula:
=IF(A1="",B1,A1)

This formula will always return the value in Column A.
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
What exactly is the formula in A1?
 
Upvote 0
Status
Not open for further replies.

Forum statistics

Threads
1,214,878
Messages
6,122,062
Members
449,064
Latest member
scottdog129

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