LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 144
Default Excel formular to Count values in cells of rows that meet criteria

another way,
assuming that date are in Column A and value in Column B,
enter the date you want to lookup in C2 and
copy and paste either of these array formula in D2, confirm by Ctrl, Shift &
Enter
Excel will automatically put a curly bracket {.....} wrap around the formula,
note that you do not need to type the curly bracket, if you have press Enter
accidentally after entering the formula, just go back to the cell and in
edit mode
reenter again.

=SUM((--$A$2:$A$5=C2)*--($B$2:$B$5))

or

=SUM(IF($A$2:$A$5=C2,$B$2:$B$5,0))

HTH

--
Pls click on the Yes button below if this posting is helpful.

Thank You

cheers, francis









"LuvJ1s" wrote:

I am attempting to add a formula in a separate spreadsheet that counts the
value in existing cells if the row begins with a certain date. For example,
I would like the spreadsheet to return the 'Amount' received on 12/31/2008
(15.00) and disregard all other dates.

Date Amount
12/31/2008 5.00
12/31/2008 10.00
1/1/2009 2.00
1/1/2009 4.00
1/2/2009 1.00

 
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
count cells that meet 2 criteria aimee Excel Worksheet Functions 3 June 18th 08 06:45 PM
Count the number of values in a list that meet certain criteria Fudgy Excel Worksheet Functions 1 May 5th 08 09:23 PM
count rows that meet certain criteria klp Excel Discussion (Misc queries) 3 August 28th 07 05:10 PM
Count Cells that meet Criteria kmason Excel Worksheet Functions 6 August 24th 06 04:31 PM
count rows that meet two criteria in two different columns? dsk3808 Excel Worksheet Functions 6 June 28th 06 09:18 PM


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