excel IF statement

Associate
Joined
20 Oct 2012
Posts
459
Location
west sussex
Hi all, im trying to do what i think is basic but cant seem to get it to blooming work.

So i want to make an IF statement that if E2 is blank then put N/A if it is not blank do nothing.

So i have =IF(E2="","N/A","")

From what i remember that's saying if e2=blank, then add N/A, else leave blank?

Or am i barking well up the wrong tree here.
 
Last edited:
Can i ask can i put this formula in the cell that im trying to display n/a?

Basically i am importing a .csv file with shipping addresses.
Some customers have filled out line 2 on shipping some haven't.
Now royal mail need to see something inside shipping column 2 being E.
So i was hoping to put an IF statement in the whole of column E with the above code, but i guess because the IF statement is about the E column it will bring an error because i guess you can have a IF statement in its own cell/column?

Hope that makes any kind of sense if not ill have to look at a company to make me a program or something.
 
I get the following error.

Careful, we found one or more circular referances in your workbook that might cause your formulas to calculate incorrectly.
FYI: a circular referance can be a formula that refers to its own cell value, or refers to a cell dependent on its own cell value.

That's why im thinking i cant put an if statement in the cell/column i want changing?
 
Thanks for all your help, just another question if i may!
Is there an easy way of changing text from in a cell.
What im after is if a cell says united kingdom to change it to GB and if a cell says france to change it to FR for example?
Is there any easy ways in doing this or do i need to go into coding?

Thanks
 
Back
Top Bottom