Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 184
Default Formula help with greater than and count if

I am looking for a way to formulate in A2:A4 so it counts B to D in the same
row if B1 is greater than A1 and the same for C and D. Below is a example of
before and after.

Thank you


Before
A B C D
1 7/31/09 3/2/09 4/13/09 8/1/09
2 10 9 8
3 5 10 15
4 20 25 30

After
A B C D
1 7/31/09 3/2/09 4/13/09 8/1/09
2 19 10 9 8
3 15 5 10 15
4 45 20 25 30


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default Formula help with greater than and count if

you have mentioned greater than but your answers display the results for less
than.

in A2 and copy down as required
=SUMIF($B$1:$D$1,"<"&$A$1,B2:D2)


OR

=SUMIF($B$1:$D$1,""&$A$1,B2:D2)
(as per your requirement)


If this post helps click Yes
---------------
Jacob Skaria


"Jeremy" wrote:

I am looking for a way to formulate in A2:A4 so it counts B to D in the same
row if B1 is greater than A1 and the same for C and D. Below is a example of
before and after.

Thank you


Before
A B C D
1 7/31/09 3/2/09 4/13/09 8/1/09
2 10 9 8
3 5 10 15
4 20 25 30

After
A B C D
1 7/31/09 3/2/09 4/13/09 8/1/09
2 19 10 9 8
3 15 5 10 15
4 45 20 25 30


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
Count of Number Values Greater Than, Less Than Anne Excel Worksheet Functions 6 October 12th 06 07:04 PM
Looking to count using a greater-than vldavis809 Excel Discussion (Misc queries) 4 August 12th 06 05:46 PM
Count non-contiguous cells where value is greater than 0 anre5180 Excel Worksheet Functions 2 February 22nd 06 01:12 PM
How do I count numbers in a range that are greater than and less . Clinic Reporter Excel Worksheet Functions 1 April 13th 05 08:47 AM
count TIME that is GREATER than 24 hours JonPilot Excel Worksheet Functions 1 January 31st 05 10:55 PM


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

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

About Us

"It's about Microsoft Excel"