Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I am trying to take data from 3 different columns and put it in either of two
other columns. For example: F47 is a date formatted MM/DD/YY and T47 is a number from 1 thru a gizillion, IF(AND(DAY(F47)27,T47<2),T47,T47/M47) I am trying to say if the date is more than say 4/28/06 and the T47 is greater than 30 put the answer in column xx, if not, put it in this column Thanks -- DMM |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
A formula can only return a result in the cell that holds the formula, so
you must use 2 formulas in 2 columns -- Regards, Peo Sjoblom "Dianethetech" wrote in message ... I am trying to take data from 3 different columns and put it in either of two other columns. For example: F47 is a date formatted MM/DD/YY and T47 is a number from 1 thru a gizillion, IF(AND(DAY(F47)27,T47<2),T47,T47/M47) I am trying to say if the date is more than say 4/28/06 and the T47 is greater than 30 put the answer in column xx, if not, put it in this column Thanks -- DMM |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Can you explain further?
-- DMM "Peo Sjoblom" wrote: A formula can only return a result in the cell that holds the formula, so you must use 2 formulas in 2 columns -- Regards, Peo Sjoblom "Dianethetech" wrote in message ... I am trying to take data from 3 different columns and put it in either of two other columns. For example: F47 is a date formatted MM/DD/YY and T47 is a number from 1 thru a gizillion, IF(AND(DAY(F47)27,T47<2),T47,T47/M47) I am trying to say if the date is more than say 4/28/06 and the T47 is greater than 30 put the answer in column xx, if not, put it in this column Thanks -- DMM |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
You would need 2 formulas (or VBA code) if you want values to change in 2
places, you posted (I changed the second criteria to 30 from 2 since you wrote greater than 30) =IF(AND(DAY(F47)27,T4730),T47,"") "in xx column" then in "this column" =IF(AND(DAY(F47)27,T4730),"",T47/M47) however if the date is 03/29/06 it will still trigger one of the conditions so maybe you should use =IF(AND(F47DATE(2006,4/27),T4730),T47,"") -- Regards, Peo Sjoblom "soconfused" wrote in message ... Can you explain further? -- DMM "Peo Sjoblom" wrote: A formula can only return a result in the cell that holds the formula, so you must use 2 formulas in 2 columns -- Regards, Peo Sjoblom "Dianethetech" wrote in message ... I am trying to take data from 3 different columns and put it in either of two other columns. For example: F47 is a date formatted MM/DD/YY and T47 is a number from 1 thru a gizillion, IF(AND(DAY(F47)27,T47<2),T47,T47/M47) I am trying to say if the date is more than say 4/28/06 and the T47 is greater than 30 put the answer in column xx, if not, put it in this column Thanks -- DMM |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Thanks
-- DMM "Peo Sjoblom" wrote: You would need 2 formulas (or VBA code) if you want values to change in 2 places, you posted (I changed the second criteria to 30 from 2 since you wrote greater than 30) =IF(AND(DAY(F47)27,T4730),T47,"") "in xx column" then in "this column" =IF(AND(DAY(F47)27,T4730),"",T47/M47) however if the date is 03/29/06 it will still trigger one of the conditions so maybe you should use =IF(AND(F47DATE(2006,4/27),T4730),T47,"") -- Regards, Peo Sjoblom "soconfused" wrote in message ... Can you explain further? -- DMM "Peo Sjoblom" wrote: A formula can only return a result in the cell that holds the formula, so you must use 2 formulas in 2 columns -- Regards, Peo Sjoblom "Dianethetech" wrote in message ... I am trying to take data from 3 different columns and put it in either of two other columns. For example: F47 is a date formatted MM/DD/YY and T47 is a number from 1 thru a gizillion, IF(AND(DAY(F47)27,T47<2),T47,T47/M47) I am trying to say if the date is more than say 4/28/06 and the T47 is greater than 30 put the answer in column xx, if not, put it in this column Thanks -- DMM |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
beforeclose placement | Excel Discussion (Misc queries) | |||
IF STATEMENT - PLACEMENT OF VALUE IN THE CORRECT CELL | New Users to Excel | |||
Name Placement | Excel Discussion (Misc queries) | |||
Tab placement | Excel Discussion (Misc queries) | |||
Controlling Cell/Cursor Placement | Excel Discussion (Misc queries) |