formular for mulitpla if's

tonylpcs@yahoo.co.uk

Active Member
Joined
Dec 19, 2007
Messages
379
Hi Every one,

can someone plase give me the formula for the following, i'm almost there but must be getting something wrong somewhwere?

the formula will go into G6: (i want to put one of the values of the cells into g6 according to whats in g3)

if G3 = 8 then G122 if G3 = 10 then G110, if G3 = 12 THEN G98, if G3 = 14 THEN G84, if G3 = 16 THEN G67, if G3 = 18 THEN G49, if G3 = 20 THEN G28
IF not then ""

please help

thanks

Tony :(
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
Hi Every one,

can someone plase give me the formula for the following, i'm almost there but must be getting something wrong somewhwere?

the formula will go into G6: (i want to put one of the values of the cells into g6 according to whats in g3)

if G3 = 8 then G122 if G3 = 10 then G110, if G3 = 12 THEN G98, if G3 = 14 THEN G84, if G3 = 16 THEN G67, if G3 = 18 THEN G49, if G3 = 20 THEN G28
IF not then ""

please help

thanks

Tony :(
Try this...

=IF(G3=8,G122,IF(G3=10,G110,IF(G3=12,G98,IF(G3=14,G84,IF(G3=16,G67,IF(G3=18,G49,IF(G3=20,G28,"")))))))
 
Upvote 0
=if(or(g3={8,10,12,14,16,18,20}),choose(g8/2-3,g122,g110,g98,g84,g67,g49,g28),"")
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,566
Messages
6,179,553
Members
452,928
Latest member
101blockchains

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