LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 107
Default Finding a "Min" value

Array entered as befo

=MIN(IF((A1:A19<0)*(MOD(ROW(A1:A19),9)=1),A1:A19) )
--
p45cal


" wrote:

On Jun 21, 2:57 pm, p45cal wrote:
Array-enter the following (CTRL+SHFT+ENTER, rather than just Enter):

=MIN(IF(MOD(ROW(A1:A19),9)=1,A1:A19))
and
=MAX(IF(MOD(ROW(A1:A19),9)=1,A1:A19))

which if properly entered will appear with curly braces around them in the
formula bar thus:
{=MIN(IF(MOD(ROW(A1:A19),9)=1,A1:A19))}
{=MAX(IF(MOD(ROW(A1:A19),9)=1,A1:A19))}

--
p45cal



" wrote:
To anyone who can help,
I have a Excel file that I need to extract out the Min value and the
Max Value out of a specific column looking only at every ninth record
starting with row one (a1). It will look like this:


a1) 90
a2) 1
a3) 2
a4) 3
a5) 4
a6) 5
a7) 6
a8) 7
a9) 8
a10) 100
a11) 1
a12) 2
a13) 3
a14) 4
a15) 5
a16) 6
a17) 7
a18) 8
a19) 110


I only want to key on the "90","100,"110" and find the min value out
of these which is "90". Hope this makes sense. Can anyone tell me who
to use the "Min" command to do this keying on every ninth record only
in column "A"? Then I need to do the same principle but instead of min
I need "Max" which would be "110". Thank You in Advance.- Hide quoted text -


- Show quoted text -


p45cal,
Your =MIN(IF(MOD(ROW(A1:A19),9)=1,A1:A19)) worked great. My only
issue is some of my values every ninth record contain a zero. So when
using =MIN I am pulling zero as my min qty. Is there a way to use your
command array line and bypass zero's.

Thanks



 
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
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell Steve Kay Excel Discussion (Misc queries) 2 August 8th 08 01:54 AM
change "true" and "false" to "availble" and "out of stock" inthestands Excel Worksheet Functions 2 July 19th 07 07:05 PM
HELP on "left","right","find","len","substitute" functions serene83 Excel Discussion (Misc queries) 5 June 27th 06 02:23 AM
Count occurences of "1"/"0" (or"TRUE"/"FALSE") in a row w. conditions in the next BCB New Users to Excel 7 May 13th 06 10:02 PM
If changed array formula reduce ""\""\""\ - signs to #Missing, will it make ... Maria J-son[_2_] Excel Programming 2 March 5th 06 12:20 PM


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