Help with =IF statement

micfly

Well-known Member
Joined
Sep 8, 2008
Messages
543
Getting confused, in plain English, how can I combine these 3 statements into 1 formula? =if(....)

if m13 is a number then m13*t13
if m13 is a letter then "Included"
if m13 is blank then ""
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
Here you go:
Excel Formula:
=IF(ISNUMBER(M13),M13*T13,IF(ISTEXT(M13),"Included",IF(ISBLANK(M13),"","")))
 
Upvote 0
Here you go:
Excel Formula:
=IF(ISNUMBER(M13),M13*T13,IF(ISTEXT(M13),"Included",IF(ISBLANK(M13),"","")))
Hey Bill if you would be so kind, can you help me with one other variation? Not sure how to state this but need a OR statement in there like so:

if m13 is a number then m13*t13
if m13 is a letter OR t13="Included" then "Included"
if m13 is blank then ""

Is this possible? Thanks for any help.
 
Upvote 0
How about
Excel Formula:
=IF(M13="","",IF(OR(ISTEXT(M13),T13="Included"),"Included",M13*T13))
 
Upvote 0
Solution
Glad we could help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,338
Messages
6,124,360
Members
449,155
Latest member
ravioli44

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