3 Way Argument

ExcelRoy

Well-known Member
Joined
Oct 2, 2006
Messages
2,540
Office Version
  1. 365
Platform
  1. Windows
Hi,

I have a 3 way argument that i need 3 different outcomes

IF Q146 =0 i need a "" returned
IF Q146 >0 i need the contents of cell Q146 to be shown
IF Q147 ="" then i need "-" shown

Thanks
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
Hi,

I have a 3 way argument that i need 3 different outcomes

IF Q146 =0 i need a "" returned
IF Q146 >0 i need the contents of cell Q146 to be shown
IF Q147 ="" then i need "-" shown

Thanks
What is currently in cell Q146? And you want Q146 to be "-" when Q147 is "" or was this a typo?

you can use an =IF statement:

=If(Q146=0,"",IF(Q146>0,Q146,IF(Q146="","-",IF(Q146="",""))))
 
Last edited:
Upvote 0
I am currently working on 2000 but need to work on 2003 aswell

Thanks
 
Upvote 0
IF Q146 =0 i need a "" returned
IF Q146 >0 i need the contents of cell Q146 to be shown
IF Q147 ="" then i need "-" shown
Can the contents of Q146 ever be negative? If so, what should be displayed for it?
 
Upvote 0
Hi,

I have a 3 way argument that i need 3 different outcomes

IF Q146 =0 i need a "" returned
IF Q146 >0 i need the contents of cell Q146 to be shown
IF Q147 ="" then i need "-" shown

Thanks

Q147? I'll assume you meant Q146...

=IF(Q147="","-",IF(N(Q146),Q146,""))
 
Upvote 0
ok, so im getting myself a little confused here (not hard)

I need the following

IF Q146 =0 i need a "-" returned & IF Q146 >0 i need the contents of cell Q146 to be shown


IF Q147 ="" then i need "" shown

Hope i am not confusing you too much

Thanks
 
Upvote 0

Forum statistics

Threads
1,224,613
Messages
6,179,894
Members
452,948
Latest member
Dupuhini

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