IF and THEN question

  • Thread starter Thread starter ThomasN
  • Start date Start date
T

ThomasN

Hello,

I have a spreadsheet where a certain column display what is to be done
with the information. For example:
A B C D
123 456 789 DELETE
987 654 321 ADD

What I'd like to do in column E is to make a formula that says:

If D1 equals DELETE, then put the value DEL in E1
If D1 had been ADD, then I would want the value PUT in E1

Does this make any sense?

Thanks for any help!

Thomas
 
Hi Thomas
put the following in E1:
=IF(D1="DELETE","DEL",IF(D1="ADD","PUT",""))
copy down

HTH
Frank
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Restructuring records into a list 2
Index & Match 1
Adding cells proplem 2
Insert New Rows based on COUNTA() 2
If but with a twist:( 3
Rearrange Data 2
Pivot Table Calcs 4
Excel 2007 storing the high and low 3

Back
Top