Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default Sumproduct using part of a Cell

I have a worksheet in which I need to find all of the cells in one column
that end in specific criteria and count the number of times they meet other
criteria in other cells. Example:

Column A Column D Column R
5023 (R:50 D:505) 72 53.8%
5001 (R:50 D:500) 148 57.4%
5024 (R:50 D:500) 0 0.0%
5049 (R:50 D:507) 78 74.5%
5032 (R:50 D:507) 60 43.2%

I need to find how many stores in D:500 that don't have 0 in Column D are +
or - 10% of another cell that isn't listed here (which we will say is 55%),
and the same for D:507, etc. In this example, I should have 0 for D:505, 0
for D:500 and 1 that is 10% over and 1 that is 10% under for D:507.

This is a very small sampling of the actual sheet that I am using. I know
how to do the Sumproduct formula for this except for the fact that I need it
to look at the end of what is in Column A and only use the last 4 characters.

Thank you for your help in advance. Please let me know if need any other
information or a better explanation.

Paul Rozewski

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Sumproduct using part of a Cell

The last 4 characters would be something like 505)

Maybe:

=sumproduct(--(right(a1:a10,6)="d:500)"),--(....),--(...))



prozewski wrote:

I have a worksheet in which I need to find all of the cells in one column
that end in specific criteria and count the number of times they meet other
criteria in other cells. Example:

Column A Column D Column R
5023 (R:50 D:505) 72 53.8%
5001 (R:50 D:500) 148 57.4%
5024 (R:50 D:500) 0 0.0%
5049 (R:50 D:507) 78 74.5%
5032 (R:50 D:507) 60 43.2%

I need to find how many stores in D:500 that don't have 0 in Column D are +
or - 10% of another cell that isn't listed here (which we will say is 55%),
and the same for D:507, etc. In this example, I should have 0 for D:505, 0
for D:500 and 1 that is 10% over and 1 that is 10% under for D:507.

This is a very small sampling of the actual sheet that I am using. I know
how to do the Sumproduct formula for this except for the fact that I need it
to look at the end of what is in Column A and only use the last 4 characters.

Thank you for your help in advance. Please let me know if need any other
information or a better explanation.

Paul Rozewski


--

Dave Peterson
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
Search/Match/Find ANY part of string to ANY part of Cell Value TWhizTom Excel Worksheet Functions 0 July 21st 08 08:16 PM
copy selected part number of text from one cell into another cell orewa Excel Discussion (Misc queries) 1 April 11th 08 01:30 PM
Display contents of cell in another cell as part of text string? [email protected] New Users to Excel 3 July 8th 06 07:44 PM
sumproduct of part cells of a range with blanks excelFan Excel Discussion (Misc queries) 4 February 25th 05 10:37 PM
Can you make a cell with a diagonal, so that you can edit the upper and lower part of the cell? g wills New Users to Excel 3 February 17th 05 10:23 PM


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