Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
ChuckF
 
Posts: n/a
Default Data Range Question.

I have created a series of data ranges. In column A I have the state
listed, and in column Q I have a field with data "P" or "V". These
will be entered by other people in my group.
I created data ranges so that on a seperate worksheet I could do a
countif formula to count the number of P's are in Alabama. or the
number of V's in Texas.

My problem is that the sheet that I am pulling the data from gets (and
needs to be) sorted by different users. (This is a shared document.)
Once the sheet is sorted, my data ranges are not longer where they are
supposed to be, and my calculations are wrong.

Is there another better way to set this up?

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips
 
Posts: n/a
Default Data Range Question.

sorting shouldn't make any difference.

Try

=SUMPRODUCT(--(2:A200="Texas"),--(Q2:Q200="P"))

adjust the range to suit.

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"ChuckF" wrote in message
oups.com...
I have created a series of data ranges. In column A I have the state
listed, and in column Q I have a field with data "P" or "V". These
will be entered by other people in my group.
I created data ranges so that on a seperate worksheet I could do a
countif formula to count the number of P's are in Alabama. or the
number of V's in Texas.

My problem is that the sheet that I am pulling the data from gets (and
needs to be) sorted by different users. (This is a shared document.)
Once the sheet is sorted, my data ranges are not longer where they are
supposed to be, and my calculations are wrong.

Is there another better way to set this up?



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
ChuckF
 
Posts: n/a
Default Data Range Question.

Thanks Bob, I was just using a sum formula which is why the sorting
effected my results, sumproduct works great...thanks

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
ChuckF
 
Posts: n/a
Default Data Range Question.

Thanks Bob, I was just using a sum formula which is why the sorting
effected my results, sumproduct works great...thanks

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
Add a data series dynamically to a named range? Popeye Charts and Charting in Excel 3 March 10th 06 08:59 PM
Match and Sort for two range of data on different worksheets? Tan New Users to Excel 3 March 9th 06 08:55 AM
From several workbooks onto one excel worksheet steve Excel Discussion (Misc queries) 6 December 1st 05 08:03 AM
How can I check if data in external data range is changed after re Ruud Excel Discussion (Misc queries) 0 January 7th 05 12:07 PM
Extending a Chart Data Series from an Array - Can it be done? Jon Peltier Charts and Charting in Excel 4 November 30th 04 03:30 AM


All times are GMT +1. The time now is 01:50 AM.

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"