Please help solve... basic

Fegal

Board Regular
Joined
Feb 2, 2013
Messages
101
Office Version
  1. 365
Platform
  1. Windows
Hello
I have this formula looking at the sheet below it, i would expect a return in D23 of 18..
what am I doing wrong?

TIA!!

1683618375712.png


1683618322223.png
 
RatesJames
JobBuilderApprenticeColumn1StartStopTimeJob
Crawford6540May1/05/202307:3017:009.00Crawford
Crawford Extras6540May1/05/202307:3017:009.00Crawford
Auckland rd Lot 16540May1/05/2023
Auckland Rd Lot 26540May1/05/2023
Auckland Rd extras6540May2/05/2023
88 TeAwa Ave6540May2/05/2023
May2/05/2023
May3/05/2023
May3/05/2023
May3/05/2023
May4/05/2023

JSMT12
Jan0
Jan0
Jan0
Jan0
Jan0
Feb0
Feb0
Feb0
Feb0
Feb0
Mar0
Mar0
Mar0
Mar0
Mar0
Apr0
Apr0
Apr0
Apr0
Apr0
MayCrawford9.009.000.000.001
May1
May1
May1
May1
You have time values in the the date column in your lookup table. cell formatted as month with a value of (2023-5-1) does not equal cell formatted as month with a value of (2023-5-1 8:00 am)
 
Upvote 0

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
With XL2BB Mini Sheet is better than Table Only. However, if that is causing a problem, what rangeshave you shown in the two ranges in post #9?
 
Upvote 0
your month value in column F needs to be something like this: Date(Year(G7),Month(G7),1)
or G7-Day(G7)+1
 
Upvote 0
I'm happy you found a solution here.

Best Wishes!
 
Upvote 0

Forum statistics

Threads
1,224,825
Messages
6,181,191
Members
453,021
Latest member
pingpong7117

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