Look up

1988craig

New Member
Joined
Aug 17, 2019
Messages
14
Office Version
  1. 365
Platform
  1. Windows
Hi everyone,

New to the forum & excel- I'm a novice.....

The below sheet is a basic example of a sheet use to schedule works. The schedule consists of approx 300 lines per week. The data is exported from another source and then imported so I cannot add columns.

I am trying to auto populate the start and end date columns B & C based on cloumns D-H having text entered, column B & C I need to populate with the corrosponding date D1-H1.

I currently do this manually by filtering out blanks in column D, entering the required date in B&C & so on through to column H.

I have searched online for a solution but failed, I am unsure which function I actully require to complete.

Many thanks in advance for any assistance.
 

Attachments

  • Example Shedule.png
    Example Shedule.png
    154.4 KB · Views: 6

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
It's possible.
Would you please explain this more clearly for me:
You said:
I am trying to auto populate the start and end date columns B & C based on cloumns D-H having text entered, column B & C I need to populate with the corrosponding date D1-H1.

Like if I enter anything in this column I want this entered into this column same row
 
Upvote 0
Hello,

basically when a cell is not blank- a name entered into a line between columns D-H, I am trying to pick up the date where the name first appears- task stating on this date, to populate in column B. Then where the name last appears in the same line- task finishing on this date to populate column C.

As per the below but I have just entered the dates manually to hopefully explain what I am trying to achieve.

I hope this is clarifies, many thanks for the assistance!!

1602308554311.png
 

Attachments

  • 1602308422969.png
    1602308422969.png
    9.5 KB · Views: 0
Upvote 0
@1988craig
I suggest that you update your Account details (click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)

I also suggest that you investigate XL2BB for providing sample data to make it easier for helpers by not having to manually type out sample data to test with.

See if this is what you want.

20 10 10.xlsm
ABCDEFGH
110/10/202011/10/202012/10/202013/10/202014/10/2020
2StartEnd
3Job 110/10/202010/10/2020Dave
4Job 210/10/202011/10/2020BobBob
5Job 310/10/202014/10/2020SteveSteveSteveSteveSteve
6Job 411/10/202011/10/2020Dave
7Job 512/10/202012/10/2020Dave
8Job 613/10/202013/10/2020Dave
9Job 714/10/202014/10/2020Dave
10Job 812/10/202014/10/2020BobBobBob
11Job 9  
Start End
Cell Formulas
RangeFormula
B3:B11B3=IFNA(INDEX(D$1:H$1,MATCH(TRUE,INDEX(D3:H3<>"",0),0)),"")
C3:C11C3=IFNA(LOOKUP("zzz",D3:H3,D$1:H$1),"")
 
Upvote 0
Hi Peter,

The above has done it, thank you for the formulas.
Regarding the tips- greatly appreciated I was unaware, I shall follow you advice.

Many thanks for your time & the assistance,

Best Regards,
Craig
 
Upvote 0
You're welcome. Thanks for the follow-up. :)

BTW, If the heading dates are always consecutive and any names in the row are in adjoining cells, you could use this simpler formula in column B.

20 10 10.xlsm
ABCDEFGH
110/10/202011/10/202012/10/202013/10/202014/10/2020
2StartEnd
3Job 110/10/202010/10/2020Dave
4Job 210/10/202011/10/2020BobBob
5Job 310/10/202014/10/2020SteveSteveSteveSteveSteve
6Job 411/10/202011/10/2020Dave
7Job 512/10/202012/10/2020Dave
8Job 613/10/202013/10/2020Dave
9Job 714/10/202014/10/2020Dave
10Job 812/10/202014/10/2020BobBobBob
11Job 9  
Start End (3)
Cell Formulas
RangeFormula
B3:B11B3=IF(C3="","",C3-COUNTA(D3:H3)+1)
C3:C11C3=IFNA(LOOKUP("zzz",D3:H3,D$1:H$1),"")
 
Upvote 0
Solution

Forum statistics

Threads
1,214,877
Messages
6,122,051
Members
449,064
Latest member
scottdog129

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