LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #11   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,118
Default Find a range of values in a range of cells

Thanks for the feedback.....I"m glad you got that to work for you.

***********
Regards,
Ron

XL2002, WinXP


"Jack Taylor" wrote:

I found the problem. I need the formula to look for a BLANK in the G column
instead of being equal to 0.

"Ron Coderre" wrote:

Ooops! I sure didn't read your latest post correctly!

You wanted the count and total 2006 contributions for those who contributed
in 2006, but haven't contributed for 2007, right?

Where
F4:F766 containing 2006 contributions (or blanks? zeroes?)
G4:G766 containing 2007 contributions (or blanks? zeroes?)

Try this:

The count
=SUMPRODUCT((F4:F7660)*(G4:G766=0))

Their total 2006 contributions
=SUMPRODUCT((F4:F7660)*(G4:G766=0)*(F4:F766))

Does that help?
***********
Regards,
Ron

XL2002, WinXP


"Jack Taylor" wrote:

Ron:

Once again it worked perfectly. Can I ask one more question...then I
promise I'll shut up?

I need one more formula that will do the following:

Column F4 through F766 contains contributions for the year 2006. SOme of
those who made contributions in 2006 have NOT contributed for 2007. What
formula can I use to count those individuals who have NOT yet contributed for
2007, along with a sum of their 2006 contributions?


"Ron Coderre" wrote:

Try this:

With
G4:G780 containing Contribution Amount
H4:H780 containing Inc(Dec) from Previous

These formula calculate the total and counts for those who contributed
-----------------------
LESS than previous:
The Total
=SUMIF(H4:H780,"<0",G4:G780)
The Count
=COUNTIF(H4:H780,"<0")

-----------------------
SAME as previous:
The Total
=SUMIF(H4:H780,"=0",G4:G780)
The Count
=COUNTIF(H4:H780,"=0")

-----------------------
MORE THAN previous:
The Total
=SUMIF(H4:H780,"0",G4:G780)
The Count
=COUNTIF(H4:H780,"0")
-----------------------

Do those help?
***********
Regards,
Ron

XL2002, WinXP


"Jack Taylor" wrote:

Ron:

One more question:

I need to do the same thing in a column whose cells are products of another
formula. For example:

Cells H4 through H766 contain a formula that calculates the percentage
increase or decrease of contributions from the year before. I'd like to be
able to find a formula that calculates the total number of decreases...the
total number the same as last year...and the total number of actual increases.

THanks again!

JT




"Ron Coderre" wrote:

Try these:

With
G4:G780 containing numbers

Then
A1: 100
A2: 500

This formula counts the G4:G780 values that are between 100 and 500,
inclusive.
A3: =COUNTIF(G4:G780,"="&A1)-COUNTIF(G4:G780,""&A2)

This formula sums those amounts:
A4: =SUMPRODUCT((G4:G780=A1)*(G4:G780<=A2)*(G4:G780))

Does that help?
***********
Regards,
Ron

XL2002, WinXP


"Jack Taylor" wrote:

I have a spreadsheet that contains contribution data. Each cell in the range
G4 through G780 contain individual contribution amounts.

I would like be able to devise a formula that looks at that entire range,
and then counts the number of occurrances in a certain range. For example:

I need the formula to look at the entire range (G4 through G780), find all
occurrances of values that occur between the values 100 and 500, then produce
a count of those that fall within that range. I would also like a similar
formula that totals the values in that same range.

Any help is GREATLY appreciated.

Happy Thanksgiving!

 
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
Copy/Paste how to avoid the copy of formula cells w/o calc values Dennis Excel Discussion (Misc queries) 10 March 2nd 06 10:47 PM
To find duplicated values in a range beechum1 Excel Worksheet Functions 1 February 10th 06 04:31 AM
checking that cells have a value before the workbook will close kcdonaldson Excel Worksheet Functions 8 December 5th 05 04:57 PM
Find last occurance of text in range farutherford Excel Worksheet Functions 5 August 30th 05 02:00 AM
How do I get absolute values for a range of cells? Terry Excel Discussion (Misc queries) 3 March 2nd 05 03:54 PM


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