#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 6
Default Cell placement

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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,268
Default Cell placement

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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 93
Default Cell placement

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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,268
Default Cell placement

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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 93
Default Cell placement

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
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
beforeclose placement Curt Excel Discussion (Misc queries) 9 August 27th 07 08:00 PM
IF STATEMENT - PLACEMENT OF VALUE IN THE CORRECT CELL SSJ New Users to Excel 2 October 11th 06 04:51 PM
Name Placement lsmft Excel Discussion (Misc queries) 7 March 2nd 06 12:16 AM
Tab placement Spiff Excel Discussion (Misc queries) 1 September 15th 05 02:04 PM
Controlling Cell/Cursor Placement MarkT Excel Discussion (Misc queries) 3 August 17th 05 02:54 PM


All times are GMT +1. The time now is 11:07 AM.

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

About Us

"It's about Microsoft Excel"