Problem with a formula

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:
=IF(A1="",B1,A1)

This formula will always return the value in Column A.
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
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:
=IF(A1="",B1,A1)

This formula will always return the value in Column A.


All, I forgot to rename the thread from what I was previously going to ask. Does anyone know how to do that?
 
Upvote 0
In future please do not mark a post as the solution if it does not contain one.

What is the formula in A1?
 
Upvote 0

Forum statistics

Threads
1,215,055
Messages
6,122,902
Members
449,097
Latest member
dbomb1414

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