I have separate (non-adjacent) columns of data.
I need to extract the mimimum value (higher than zero) on each row.
I would like to have a solution without using helping ranges (to copy my
non-contiguous range to a contiguous range) or named ranges because there are
too many rows involved.
Thanks in advance,
Catalin
how many columns are we talking about, and are they regularly or randomly
seperated?
Knowing the columns involved may aid with the solution.
"Catalin" <Cat...@discussions.microsoft.com> wrote in message
news:0C9087A4-F711-4474...@microsoft.com...
I am talking about 5 columns, in this case regularly separated by 2 other
columns.
rgds,
Catalin
"Steve Dunn" wrote:
> .
>
How about telling us the specific cells that you want to evaluate? Like:
A2, D2, G2, J2, M2
Is there numeric data in the cells between the target cells? For example,
what's in B2 and C2?
--
Biff
Microsoft Excel MVP
"Catalin" <Cat...@discussions.microsoft.com> wrote in message
news:22F89E3B-1466-4797...@microsoft.com...
So I need to evaluate for example G5,J5,M5,P5 and S5 and so on...
Thanks and regards,
Catalin
"T. Valko" wrote:
> .
>
Try this array formula** :
=MIN(IF(MOD(COLUMN(G5:S5),3)=1,IF(G5:S5>0,G5:S5)))
** array formulas need to be entered using the key combination of
CTRL,SHIFT,ENTER (not just ENTER). Hold down both the CTRL key and the SHIFT
key then hit ENTER.
Caveat: inserting new columns before or within the referenced range will
cause the formula to "break" !
--
Biff
Microsoft Excel MVP
"Catalin" <Cat...@discussions.microsoft.com> wrote in message
news:DA449E03-C3FE-47CC...@microsoft.com...
I do have a question though. Is there any other "magic" you can do for the
case where the columns are randomly separated by other columns (you do not
have any pattern)?
Say columns B, C, D, K, P a.s.o? This is just for my knowledge.
Anyway, thank you once again for your time and for sharing that info.
Best regards,
Catalin
"T. Valko" wrote:
> .
>
=SMALL((B5,C5,D5,K5,P5),FREQUENCY((B5,C5,D5,K5,P5),0)+1)
Or, like this if all the cells are in the same row:
=SMALL((B5:D5,K5,P5),FREQUENCY((B5:D5,K5,P5),0)+1)
--
Biff
Microsoft Excel MVP
"Catalin" <Cat...@discussions.microsoft.com> wrote in message
news:8B76600A-3288-4B5E...@microsoft.com...
Catalin
"T. Valko" wrote:
> .
>
--
Biff
Microsoft Excel MVP
"Catalin" <Cat...@discussions.microsoft.com> wrote in message
news:1A6BF075-5CEA-4F45...@microsoft.com...