>> Skip blank across columns

collegeitdept

Board Regular
Joined
Nov 14, 2008
Messages
185
i have the following data


A ..... E F G H I ... U

101 11/3 11/6
102 11/3
104 11/4
106 11/3 11/7




I need a formula that will give me the store numbers (not blanks).... for a chosen weekday.


IE: For Tuesday..... in column U it should say: 102 & 106



i have this formula.... but it only works for one column (one weekday):

{ =IF(ROWS(U$3:U3)<=$U$2,INDEX('New Food'!$A$3:$A$693,SMALL(IF(NOT('New Food'!$E$3:$E$693=""),ROW('New Food'!$A$3:$A$693)-ROW('New Food'!$A$3)+1),ROWS(U$3:U3))),"") }



I tried adding the sumproduct to (so it looks across multiple columns) but it doesn't work.

{ =IF(ROWS(U$3:U3)<=$U$2,INDEX('New Food'!$A$3:$A$693,SMALL(IF(NOT(SUMPRODUCT(NOT(E$3:I$693="")*($E$1:$I$1=$W$1))),ROW('New Food'!$A$3:$A$693)-ROW('New Food'!$A$3)+1),ROWS(U$3:U3))),"") }





can anyone please help?
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.

Forum statistics

Threads
1,215,473
Messages
6,125,018
Members
449,203
Latest member
tungnmqn90

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top