Reset count of Rows Function based on cell information

Mystix

New Member
Joined
Mar 2, 2021
Messages
20
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
I am working on a schedule spreadsheet. In the example, there are job types which display information based on the job type. Some info types are the same (customer's name, address, phone numbers, etc). The problem comes is getting the Rows Function to reset when a new schedule time is entered in Column C.

HOW IT SHOULD LOOKWHAT HAPPENS CURRENTLY
FRIDAY 2/26/21CREW1CREWORDERCUSTOMERSTORE1PHONE1PHONE2NOTESADDRESSJOB TYPEJOB AMOUNT
9:30 AM-9:45 AMPICKUP AT STORE1 PICKUP AT STORE1 CREW13CUSTOMER2STORE1CUSTOMER2 PHONE1CUSTOMER2 PHONE2CUSTOMER2 NOTESCUSTOMER2 ADDRESSSIDE JOBINSTALL WINDOW
STORE1 ADDRESS STORE1 ADDRESS CREW14CUSTOMER3STORE1CUSTOMER3 PHONE1CUSTOMER3 PHONE2CUSTOMER3 NOTESCUSTOMER3 ADDRESSINSTALLINSTALL DOOR
PICKUP FOR: PICKUP FOR: CREW12CUSTOMER1STORE1CUSTOMER1 PHONE1CUSTOMER1 PHONE2CUSTOMER1 NOTESCUSTOMER1 ADDRESSDETAILMEASURE DOOR
#REF!#REF!CREW11PICKUP AT STORE1PICKUP FOR:STORE1 ADDRESSPICKUPPICKUP WINDOW
#REF!#REF!
#REF!#REF!
10:15 AM-10:30 AMCUSTOMER1 STORE1
CUSTOMER1 ADDRESS#REF!
CUSTOMER1 PHONE1#REF!
CUSTOMER1 PHONE2#REF!
CUSTOMER1 NOTES#REF!
MEASURE DOOR#REF!
STORE1#REF!
#REF!#REF!
12:00 PM-5:00 PMCUSTOMER2#REF!
CUSTOMER2 ADDRESS#REF!
CUSTOMER2 PHONE1#REF!
CUSTOMER2 PHONE2#REF!
CUSTOMER2 NOTES#REF!
INSTALL WINDOW#REF!MY FORMULA
=@INDEX(INDIRECT("fri"&@INDEX(JobTypeLists,
ROWS($C3:C$3)+1,
MATCH(INDEX(JobTypes,,MATCH(@INDEX(FriType,INDEX(MATCH(1,(FriCrew=FriRandy)*(FriOrder=COUNTA($C$3:C3)),0),0)),JobTypes,0)),JobTypes,0))),INDEX(MATCH(1,(FriCrew=FriRandy)*(FriOrder=COUNTA($C$3:C3)),0),0))
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
Try something like
Excel Formula:
=ROWS(C$3:C3)-MATCH(1e+100,C$3:C3)+1
 
Upvote 0
Solution
Try something like
Excel Formula:
=ROWS(C$3:C3)-MATCH(1e+100,C$3:C3)+1
YES! That's exactly what I needed. THANK YOU! I've been trying to get that right for the past week. Very much appreciated.
 
Upvote 0

Forum statistics

Threads
1,214,638
Messages
6,120,676
Members
448,977
Latest member
moonlight6

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