Consecutive cells

jojo_b27

New Member
Joined
Aug 3, 2022
Messages
1
Office Version
  1. 2021
Platform
  1. MacOS
Hi, I am new on this forum. I am completely stuck with something that might seem easy at first sight.

We have clients, some are recurring clients, some aren't. We would like to do an analysis on how many projects we did with each client, how many month did it take each time, etc. Please see the screen shot below to see the kind of data we have and what we would like to get.

Formulae I tried:
- =ArrayFormula(index(B2:M2,match(2,1/(B2:M2<>"")))) to give me the last non blank cell. However, because I have several projects, it doesn't give me the end of the first project...
- =ArrayFormula(max(frequency(if(B2:M2<>0,column(B2:M2)),if(B2:M2="",column(B2:M2))))) but it gives me random numbers, I really don't understand the answers I get.

If you have any clue on how I can distinguish every project, I would be very grateful.
Thank you

Screen Shot 2022-08-03 at 13.46.20.png
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
Would I be correct in thinking that this is for Google Sheets?
 
Upvote 0

Forum statistics

Threads
1,215,054
Messages
6,122,895
Members
449,097
Latest member
dbomb1414

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