If blank then put N/A if not then list value

dmart

New Member
Joined
Oct 30, 2014
Messages
4
Have two columns, A and B. Trying to get column A's value into column B. I want it so that if column A has a value it lists the value in column B but its blank that it puts "N/A" down.


=IF(A<=0,A,IF(ISBLANK(A),"N/A",B)) This seems to not work
 
Last edited:

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
Something like this?


Excel 2013/2016
AB
1ListValues
2stuffstuff
3N/A
4foofoo
5trampolinetrampoline
6N/A
7burgerburger
8carpetcarpet
9N/A
10N/A
11N/A
12tabletable
Sheet6
Cell Formulas
RangeFormula
B2=IF(A2<>"",A2,"N/A")
 
Upvote 0
In B2 put =IF(ISBLANK(A2),"N/A",A2) and fill down
 
Upvote 0

Forum statistics

Threads
1,221,310
Messages
6,159,176
Members
451,543
Latest member
cesymcox

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