# Formula Help [Solved/Closed]

marg2810 2 Posts Monday February 1, 2016Registration date February 2, 2016 Last seen - Feb 1, 2016 at 06:16 PM - Latest reply: vcoolio 1144 Posts Thursday July 24, 2014Registration dateModeratorStatus February 26, 2018 Last seen - Feb 3, 2016 at 01:42 AM

=IF(G2="1",VSC410, IF(G2="2",VSC450, IF(G2="3",VSC470)))

What i am trying to do is : if G2 has the number "1" then insert VSC410 in (column E) etc etc. With the above formula all i get is "false" or other variations i get "#value".

I would appreciate any help with this

Thank you
Marg
See more

## 3 replies

vcoolio 1144 Posts Thursday July 24, 2014Registration dateModeratorStatus February 26, 2018 Last seen -
+3
2
Hello Marg,

You were almost there! Try the following slightly amended formula:-

=IF(G2="","",IF(G2=1,"VSC410",IF(G2=2,"VSC450", IF(G2=3,"VSC470"))))

You had the quotaion marks in the wrong place and I've added a little bit at the begining to stop "False" from appearing. Numbers don't need to be wrapped in quotation marks but text or text/numbers do.

Drag the formula down Column E as far as you need.

I hope that this helps.

Cheerio,
vcoolio.
marg2810 2 Posts Monday February 1, 2016Registration date February 2, 2016 Last seen - Feb 2, 2016 at 07:20 PM
Thank you so much - you have made my day! Worked perfectly. :) :)
vcoolio 1144 Posts Thursday July 24, 2014Registration dateModeratorStatus February 26, 2018 Last seen > marg2810 2 Posts Monday February 1, 2016Registration date February 2, 2016 Last seen - Feb 3, 2016 at 01:42 AM
Excellent Marg! Glad that I was able to help out.

Cheerio,
vcoolio.

Drivers,

Excel,
• ### 8801750816062

Pen Drive / Flash Drive/ SD Card,

Excel,