Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
HiTekDiver
 
Posts: n/a
Default How do I set up an argument which asks for multiple criteria

I am trying to use an argument that asks for one of three criteria (2345P,
8319T, or 7026J) in cell C108, and if it finds it, enters the amount of yet
another cell, G108 into cell K108, and if not enters 0 into cell K108.

It seems there are too many arguments for the "if" argument, and I can't
seem to get the "lookup" argument to work either.

Is there another argument I should be working with?
Thanks
--
Diver
  #2   Report Post  
David Hepner
 
Posts: n/a
Default

Try:

=IF(OR(C108="8319T",C108="2345P",C108="7026J"),G10 8,0)


"bj" wrote:

try in K108
=if(or(c108="2345P",C108="8319T",C108="7026J"),G10 8,0)

"HiTekDiver" wrote:

I am trying to use an argument that asks for one of three criteria (2345P,
8319T, or 7026J) in cell C108, and if it finds it, enters the amount of yet
another cell, G108 into cell K108, and if not enters 0 into cell K108.

It seems there are too many arguments for the "if" argument, and I can't
seem to get the "lookup" argument to work either.

Is there another argument I should be working with?
Thanks
--
Diver

  #3   Report Post  
bj
 
Posts: n/a
Default

try in K108
=if(or(c108="2345P",C108="8319T",C108="7026J"),G10 8,0)

"HiTekDiver" wrote:

I am trying to use an argument that asks for one of three criteria (2345P,
8319T, or 7026J) in cell C108, and if it finds it, enters the amount of yet
another cell, G108 into cell K108, and if not enters 0 into cell K108.

It seems there are too many arguments for the "if" argument, and I can't
seem to get the "lookup" argument to work either.

Is there another argument I should be working with?
Thanks
--
Diver

  #4   Report Post  
Dave Peterson
 
Posts: n/a
Default

One mo

=IF(OR(C108={"8319T","2345P","7026J"}),G108,0)



HiTekDiver wrote:

I am trying to use an argument that asks for one of three criteria (2345P,
8319T, or 7026J) in cell C108, and if it finds it, enters the amount of yet
another cell, G108 into cell K108, and if not enters 0 into cell K108.

It seems there are too many arguments for the "if" argument, and I can't
seem to get the "lookup" argument to work either.

Is there another argument I should be working with?
Thanks
--
Diver


--

Dave Peterson
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Passing a range name as an argument to the Index Function Michael Sharpe Excel Discussion (Misc queries) 3 September 5th 12 01:33 PM
text argument in vlook up which has a "" carlosgdlf Excel Worksheet Functions 6 August 3rd 05 01:46 PM
read in Vlookup an argument that has quotations(") carlosgdlf Excel Discussion (Misc queries) 1 August 2nd 05 05:56 PM
OFFSET using ADDRESS for the reference argument TRE Excel Worksheet Functions 1 June 17th 05 01:33 PM
how to copy the function argument box onto word Hannibal Excel Discussion (Misc queries) 1 April 13th 05 09:24 PM


All times are GMT +1. The time now is 01:08 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"