Trying to correct rate base on date.

Wolfin2010

New Member
Joined
Feb 21, 2015
Messages
23
Office Version
  1. 365
Platform
  1. Windows
Cell Formulas
RangeFormula
D2:D6, D23:D27, D16:D20, D9:D13D2=IF(B2="","",IF(C2="","",IF(C2<B2,"Wrong Time",C2-B2)))
D7, D28, D21, D14D7=IF(SUM(D2:D6)=0,"",SUM(D2:D6))
A3:A8, A24:A29, A17:A22, A10:A15A3=A2+1
F8, F29, F22, F15F8=IF(D7="","",D7*LOOKUP(2,1/(Rates!A:A<>""),Rates!B:B)*1.13*24)
G8, G29, G22, G15G8=IF(F8="","",F8*1.13-F8)
Cells with Conditional Formatting
CellConditionCell FormatStop If True
D24:D27Celldoes not contain a blank value textNO
E29Celldoes not contain a blank value textNO
E28Celldoes not contain a blank value textNO
G29Celldoes not contain a blank value textNO
F29Celldoes not contain a blank value textNO
D23Celldoes not contain a blank value textNO
D28Celldoes not contain a blank value textNO
D17:D20Celldoes not contain a blank value textNO
E22Celldoes not contain a blank value textNO
E21Celldoes not contain a blank value textNO
G22Celldoes not contain a blank value textNO
F22Celldoes not contain a blank value textNO
D16Celldoes not contain a blank value textNO
D21Celldoes not contain a blank value textNO
D10:D13Celldoes not contain a blank value textNO
E15Celldoes not contain a blank value textNO
E14Celldoes not contain a blank value textNO
G15Celldoes not contain a blank value textNO
F15Celldoes not contain a blank value textNO
D9Celldoes not contain a blank value textNO
D14Celldoes not contain a blank value textNO
D3:D6Celldoes not contain a blank value textNO
E8Celldoes not contain a blank value textNO
E7Celldoes not contain a blank value textNO
G8Celldoes not contain a blank value textNO
F8Celldoes not contain a blank value textNO
D2Celldoes not contain a blank value textNO
D7Celldoes not contain a blank value textNO
Cells with Data Validation
CellAllowCriteria
F8:G8Any value
D2:D7Any value
F15:G15Any value
D9:D14Any value
F22:G22Any value
D16:D21Any value
F29:G29Any value
D23:D28Any value


Book1
AB
1DateHour Rate
215-Oct-19 $18.00
301-Nov-19 $18.25
415-Nov-19 $18.75
501-Dec-19 $19.00
615-Dec-19 $19.50
701-Jan-20 $20.00
Rates


I'm trying to figure out if there is a way for me to use range of date to get the rate; so I don't have to do it manually.

What I'm trying to do is F7 to look at the date on A Column (Sheet1) and then check the date (on Rates sheet) then pick the rate which is in the range of the date.
Any idea and advise will be greatly appreciated.
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
What I'm trying to do is F7 to look at the date on A Column (Sheet1) and then check the date (on Rates sheet) then pick the rate which is in the range of the date.
You are not saying what the expected result(s) are but does this point you in the right direction?

In F7: =IF(D7="","",VLOOKUP(A7,Rates!$A$1:$B$1000,2))
 
Upvote 0
You are not saying what the expected result(s) are but does this point you in the right direction?

In F7: =IF(D7="","",VLOOKUP(A7,Rates!$A$1:$B$1000,2))

You sir are a magician; Thank you so much.
 
Upvote 0
Is there a way to get the answer on other cell?

Book1
ABCDE
11:00300:30
2Trying to get the answer at C1
3
4
5
Sheet2
Cell Formulas
RangeFormula
D1D1=IF(SEARCH("30",B1),VALUE(A1)-"0:30","No")
 
Upvote 0
You're welcome. :)


I don't understand what your requirement is.
What I need to do is that I need the answer on C1 but I can't put the formula there; that's why is there a formula which I could put at D1 and it gives me the answer on C1?
 
Upvote 0
A formula like that cannot put its result in another cell. If you want the result in C1, why can't you just put the formula in C1 instead of in D1?
 
Upvote 0

Forum statistics

Threads
1,214,415
Messages
6,119,382
Members
448,889
Latest member
TS_711

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