Page 1 of 1

lookup upon variable

Posted: Tue Jan 25, 2022 3:03 pm
by sna
Hi there,

I got another issue for looking data base on month variable.

I want to return all data's base upon month choosing.

I colour the results

TY

Re: lookup upon variable

Posted: Tue Jan 25, 2022 4:07 pm
by norkaz
sna wrote: Tue Jan 25, 2022 3:03 pm Hi there,

I got another issue for looking data base on month variable.

I want to return all data's base upon month choosing.

I colour the results

TY
Hi Guy,

Please provide the Excel attached.

Norkaz

Re: lookup upon variable

Posted: Tue Jan 25, 2022 4:32 pm
by sna
sorry

here is an attachment

TY

Re: lookup upon variable

Posted: Tue Jan 25, 2022 4:52 pm
by norkaz
...

K13

=SUM(INDEX((LOOKUP(COLUMN($B$4:$V$4),COLUMN($B$4:$V$4)/($B$4:$V$4<>""))-COLUMN($B$4)+1=MATCH($K$11,$B$4:$V$4,0))*$B6:$V6*(K$12=$B$5:$V$5),0))

Norkaz

Re: lookup upon variable

Posted: Tue Jan 25, 2022 7:45 pm
by sna
more solutions, would be helpful

Re: lookup upon variable

Posted: Tue Jan 25, 2022 8:09 pm
by Supachok
K13
[font]revision [/font]

=OFFSET(INDEX($B$5:$U$5,MATCH($J$11,$B$4:$U$4,0)),ROW(A1),COLUMN(A1:A1)-1)

Array formula {}

Re: lookup upon variable

Posted: Tue Jan 25, 2022 8:49 pm
by norkaz
...

K13

=SUM(INDEX((LOOKUP(COLUMN($B$4:$V$4),COLUMN($B$4:$V$4)/($B$4:$V$4<>""),$B$4:$V$4)=$K$11)*(K$12=$B$5:$V$5)*$B6:$V6,0))

Norkaz

Re: lookup upon variable

Posted: Tue Jan 25, 2022 8:56 pm
by sna
Ty , really appreciate