IF , text , numbers , decimal .

Sunline

Well-known Member
Joined
Oct 6, 2007
Messages
701
Office Version
  1. 2016
Platform
  1. Windows
Hello all , i have this function from here
=IF(A1-B1=20,"X","")
I want too change this too return the following results in another col but not sure how too .
IF A1=Good answer 10
IF A1=Rating 90 answer 20
IF A1=1 answer 40
IF A1=12= answer 50
IF A1=9.2 answer 60
IF A1=Good and IF B1=9.2 answer 70
IF A1=Good and IF B1=9.2 and IF C1=12= answer 80

If cells are blank return 0
Also how many Ifs can i join together using 2007 , basically covering all bases here , just need single functions rather than one big complicated one .
Thanks .
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
Hello all , i have this function from here
=IF(A1-B1=20,"X","")
I want too change this too return the following results in another col but not sure how too .
IF A1=Good answer 10
IF A1=Rating 90 answer 20
IF A1=1 answer 40
IF A1=12= answer 50
IF A1=9.2 answer 60
IF A1=Good and IF B1=9.2 answer 70
IF A1=Good and IF B1=9.2 and IF C1=12= answer 80

If cells are blank return 0
Also how many Ifs can i join together using 2007 , basically covering all bases here , just need single functions rather than one big complicated one .
Thanks .
Create this 2 column table:

Book1
GH
1Good10
2Rating 9020
3140
41250
59.260
Sheet1

Then your formula would be:

=IF(AND(A1="good",B1=9.2,C1=12),80,IF(AND(A1="good",B1=9.2),70,IF(COUNTIF(G1:G5,A1),VLOOKUP(A1,G1:H5,2,0),0)))
 
Upvote 0
Thanks for that , could i also get just 3 basic seperate functions for these
IF A1=Good answer 10
IF A1=1 answer 40
IF A1=9.2 answer 60
Thanks .
 
Upvote 0

Forum statistics

Threads
1,224,606
Messages
6,179,862
Members
452,948
Latest member
UsmanAli786

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