If Formula For Text, What Do I Need To Change?

rockyw

Well-known Member
Joined
Dec 26, 2010
Messages
1,191
I'm using this for numbers right now, if I'm looking for text it will not work. What would need changed for text? Thanks for any help.
Code:
=IF(T20=0.0082,5.2554,IF(T20=0.0085,5.4248,IF(T20=0.0084,5.3683,"")))
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
Please show what you currently have (that doesn't work) - the same principle can be used for text so without seeing what isn't working it is difficult to advise.
 
Upvote 0
I have this right now..
=IF(H20=MMKL,16.50,IF(H20=MMKT,17.50,IF(H20=MMNY,18.50,"")))
H20 is a merged group (H20-M20) Is that messing it up? And also the result will be a cost, $18.50 ect
 
Upvote 0
You need quotes around Text Values
=IF(H20="MMKL",16.50,IF(H20="MMKT",17.50,IF(H20="MMNY",18.50,"")))
 
Upvote 0

Forum statistics

Threads
1,196,358
Messages
6,014,786
Members
441,847
Latest member
hw407

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