#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,101
Default Finding Data

Not sure if this is possible or not. Excel 2003. No VBA experience. B4:IS4
has daily production output numbers. I am using a formula like
=COUNTIF($B$4:$IS$4,"625")-COUNTIF($B$4:$IS$4,"650") to find the count of
days where production output was between 626 - 650 pieces and goes in
intervals of 25 up to 1600 in D9:D47. B6:IS6 has the % of scrap product (B6
is scrap % for pieces shipped in B4...etc). Is there a way I can average the
scrap % for the output ranges? For example, I have 5 days where the
production output was between 826 - 850 pieces. Can I find the scrap % for
those 5 days automatically?
--
Mike
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Finding Data

Try this in E9:

=SUMPRODUCT(($B$4:$IS$4625)*($B$4:$IS$4<=650),($B $6:$IS$6)*($B$4:$IS
$4))/ SUMPRODUCT(($B$4:$IS$4625)*($B$4:$IS$4<=650),($B$ 4:$IS$4))

Format the cell as a percentage.

Hope this helps.

Pete

On Oct 12, 10:06*pm, Mike wrote:
Not sure if this is possible or not. *Excel 2003. *No VBA experience. *B4:IS4
has daily production output numbers. *I am using a formula like
=COUNTIF($B$4:$IS$4,"625")-COUNTIF($B$4:$IS$4,"650") to find the count of
days where production output was between 626 - 650 pieces and goes in
intervals of 25 up to 1600 in D9:D47. *B6:IS6 has the % of scrap product (B6
is scrap % for pieces shipped in B4...etc). *Is there a way I can average the
scrap % for the output ranges? *For example, I have 5 days where the
production output was between 826 - 850 pieces. *Can I find the scrap % for
those 5 days automatically?
--
Mike


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,101
Default Finding Data

Thanks! Works great. One more question. Not all fields are filled in yet
in B4:IS4 or B6:IS6 so the result is #DIV/0! unless I adjust it daily. Is
there an IF statement or something that can be added somewhere that will make
it more user friendly so I can leave the large range but won't try to pull
the zeros?
--
Mike


"Pete_UK" wrote:

Try this in E9:

=SUMPRODUCT(($B$4:$IS$4625)*($B$4:$IS$4<=650),($B $6:$IS$6)*($B$4:$IS
$4))/ SUMPRODUCT(($B$4:$IS$4625)*($B$4:$IS$4<=650),($B$ 4:$IS$4))

Format the cell as a percentage.

Hope this helps.

Pete

On Oct 12, 10:06 pm, Mike wrote:
Not sure if this is possible or not. Excel 2003. No VBA experience. B4:IS4
has daily production output numbers. I am using a formula like
=COUNTIF($B$4:$IS$4,"625")-COUNTIF($B$4:$IS$4,"650") to find the count of
days where production output was between 626 - 650 pieces and goes in
intervals of 25 up to 1600 in D9:D47. B6:IS6 has the % of scrap product (B6
is scrap % for pieces shipped in B4...etc). Is there a way I can average the
scrap % for the output ranges? For example, I have 5 days where the
production output was between 826 - 850 pieces. Can I find the scrap % for
those 5 days automatically?
--
Mike



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
Finding data Byron720 Excel Discussion (Misc queries) 5 September 29th 09 10:54 PM
Finding Data Tabatha Excel Worksheet Functions 3 February 25th 09 05:08 PM
Finding data Finder2000 Excel Discussion (Misc queries) 1 August 8th 06 07:34 PM
Finding max row containing data... Dan Excel Discussion (Misc queries) 5 November 26th 05 09:33 PM
finding data SheriTingle Excel Worksheet Functions 2 July 12th 05 08:23 PM


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