Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22
Default Using 2 IF statements for the same cell

I have a worksheet (Sales Order) that sends data to three other
worksheets. I have an IF statement that sends data based on a pull
down, the formula: =IF('Sales Order'!I20="Mike",'Sales Order'!B20," ")
is located on a worksheet named "Mike Milling" it pulls data from the
Sales order worksheet. Based on criteria from the Sales Order pull down
data could go to the Mike Milling sheet or to Ray Milling and Mike
Milling. Basically I want to know if I can do something like this:
=IF('Sales Order'!I20="Mike",'Sales Order'!B20," "), OR (IF('Sales
Order'!I20="Mike & Ray",'Sales Order'!B20," ")). I'm trying to get the
data to both worksheets if Mike & Ray is chosen on the Sales Order, and
to one worksheet if just "Mike" is chosen on the Sales Order.

Any suggestions on how to use 2 IF statements for the same cell?

Thanks,

Chad

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,886
Default Using 2 IF statements for the same cell

Hi
Try
=IF(OR('Sales Order'!I20="Mike",'Sales Order'!I20="Mike & Ray"),'Sales
Order'!B20," ")

--
Regards

Roger Govier


wrote in message
ps.com...
I have a worksheet (Sales Order) that sends data to three other
worksheets. I have an IF statement that sends data based on a pull
down, the formula: =IF('Sales Order'!I20="Mike",'Sales Order'!B20," ")
is located on a worksheet named "Mike Milling" it pulls data from the
Sales order worksheet. Based on criteria from the Sales Order pull
down
data could go to the Mike Milling sheet or to Ray Milling and Mike
Milling. Basically I want to know if I can do something like this:
=IF('Sales Order'!I20="Mike",'Sales Order'!B20," "), OR (IF('Sales
Order'!I20="Mike & Ray",'Sales Order'!B20," ")). I'm trying to get the
data to both worksheets if Mike & Ray is chosen on the Sales Order,
and
to one worksheet if just "Mike" is chosen on the Sales Order.

Any suggestions on how to use 2 IF statements for the same cell?

Thanks,

Chad



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,574
Default Using 2 IF statements for the same cell

=IF(OR([first criteria],[second criteria]),[what to do if either is
true],[what to do if both are false])

Dave
--
Brevity is the soul of wit.


" wrote:

I have a worksheet (Sales Order) that sends data to three other
worksheets. I have an IF statement that sends data based on a pull
down, the formula: =IF('Sales Order'!I20="Mike",'Sales Order'!B20," ")
is located on a worksheet named "Mike Milling" it pulls data from the
Sales order worksheet. Based on criteria from the Sales Order pull down
data could go to the Mike Milling sheet or to Ray Milling and Mike
Milling. Basically I want to know if I can do something like this:
=IF('Sales Order'!I20="Mike",'Sales Order'!B20," "), OR (IF('Sales
Order'!I20="Mike & Ray",'Sales Order'!B20," ")). I'm trying to get the
data to both worksheets if Mike & Ray is chosen on the Sales Order, and
to one worksheet if just "Mike" is chosen on the Sales Order.

Any suggestions on how to use 2 IF statements for the same cell?

Thanks,

Chad


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22
Default Using 2 IF statements for the same cell


Roger Govier wrote:
Hi
Try
=IF(OR('Sales Order'!I20="Mike",'Sales Order'!I20="Mike & Ray"),'Sales
Order'!B20," ")

--
Regards

Roger Govier


Thanks Roger, works great

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
Using an offset formula for the reference in a relative reference Cuda Excel Worksheet Functions 6 November 15th 06 05:12 PM
Conditional statements: how do I make reslts show up in dif cell achieve Excel Worksheet Functions 4 November 13th 06 09:59 PM
Urgent date/scheduling calc needed jct Excel Worksheet Functions 3 February 24th 06 01:36 AM
cell color index comparison MINAL ZUNKE New Users to Excel 1 June 30th 05 07:11 AM
up to 7 functions? ALex Excel Worksheet Functions 10 April 12th 05 06:42 PM


All times are GMT +1. The time now is 06:43 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"