Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
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
Posted to microsoft.public.excel.misc
|
|||
|
|||
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
Posted to microsoft.public.excel.misc
|
|||
|
|||
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
Posted to microsoft.public.excel.misc
|
|||
|
|||
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 |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Using an offset formula for the reference in a relative reference | Excel Worksheet Functions | |||
Conditional statements: how do I make reslts show up in dif cell | Excel Worksheet Functions | |||
Urgent date/scheduling calc needed | Excel Worksheet Functions | |||
cell color index comparison | New Users to Excel | |||
up to 7 functions? | Excel Worksheet Functions |