Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 201
Default If Formula with dates

I have a table and I am trying to use a if formulas to return a value. For
example,
Return a value if the date on that row is less or equal to January 31, 2008.
--
Phil
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 154
Default If Formula with dates

Phil,

Is the value you are returning going to be a constant or another cell within
that row, or on another worksheet, etc.

"Phil" wrote:

I have a table and I am trying to use a if formulas to return a value. For
example,
Return a value if the date on that row is less or equal to January 31, 2008.
--
Phil

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 201
Default If Formula with dates

Yes!

Basically the folowing is how I want it to work:

I have a sample of the table that I working on as showing below:
Name Date Amount January February ....
Un Nyobe January-08 $56.00
Kwame Krumah June-08 12.00

I would like excel to return amount entered in the "amount column" in a
specific month if the date is within that month. For example, in the month of
January, please entered $56 if the date is anywhere between January 1 thru
31, 2008
--
Phil



--
Phil


"Thomas [PBD]" wrote:

Phil,

Is the value you are returning going to be a constant or another cell within
that row, or on another worksheet, etc.

"Phil" wrote:

I have a table and I am trying to use a if formulas to return a value. For
example,
Return a value if the date on that row is less or equal to January 31, 2008.
--
Phil

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 201
Default If Formula with dates

Another Cell
--
Phil


"Thomas [PBD]" wrote:

Phil,

Is the value you are returning going to be a constant or another cell within
that row, or on another worksheet, etc.

"Phil" wrote:

I have a table and I am trying to use a if formulas to return a value. For
example,
Return a value if the date on that row is less or equal to January 31, 2008.
--
Phil

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 154
Default If Formula with dates

Phil,

Assuming that Name starts in A1, Date is formatted as a "Date", and your
month columns are Text:

=IF(TEXT($B2,"mmmm")=D$1,$C2,"")

Place this formula into the January column to the right of Amount. Copy and
Paste Special (Formula) into the columns of the months, you should have your
answer. If needed you can replace the "" with 0 to pull a zero value for
that row where the Months do not match.

"Phil" wrote:

Yes!

Basically the folowing is how I want it to work:

I have a sample of the table that I working on as showing below:
Name Date Amount January February ....
Un Nyobe January-08 $56.00
Kwame Krumah June-08 12.00

I would like excel to return amount entered in the "amount column" in a
specific month if the date is within that month. For example, in the month of
January, please entered $56 if the date is anywhere between January 1 thru
31, 2008
--
Phil



--
Phil


"Thomas [PBD]" wrote:

Phil,

Is the value you are returning going to be a constant or another cell within
that row, or on another worksheet, etc.

"Phil" wrote:

I have a table and I am trying to use a if formulas to return a value. For
example,
Return a value if the date on that row is less or equal to January 31, 2008.
--
Phil

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
Sum If formula for between dates Peter Excel Discussion (Misc queries) 6 May 30th 08 07:17 PM
Formula Dates Goyo el Noyo Excel Discussion (Misc queries) 1 January 5th 08 10:31 AM
Help with Dates in a Formula Jerry Rogers Excel Worksheet Functions 6 June 25th 07 11:21 AM
formula for dates ghynes Excel Worksheet Functions 1 March 27th 07 07:53 PM
How Do I Add Dates in a formula? Rogue Excel Worksheet Functions 3 January 9th 06 07:12 AM


All times are GMT +1. The time now is 04:10 PM.

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"