Not sure which formula to use

umzsexythang

Board Regular
Joined
Jul 11, 2003
Messages
50
Hi all,
I have the following table set up:

Week1 Week2 Week3 Week4 Week5....
Store
A 1000 1350 45000 0 0
B 3000 322 0 0 0
C 2000 2000 2000 2000 2000

So week number across the top, store number down the side, and sales data in the middle. The weeks go to 52, and there are 450 stores. I want to have a formula at the end of each row which says what the first week number that has zero sales is
Thanks for your help[/code]
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
Hello,

if your weeks are in row 1 and your data starts in B2 this formula will do:

=INDEX(B1:BA1,1,MATCH(0,B2:BA2,0))

Cheers

Alto
 
Upvote 0

Forum statistics

Threads
1,214,652
Messages
6,120,746
Members
448,989
Latest member
mariah3

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