formula from a date in a different cell

j4ymf

Well-known Member
Joined
Apr 28, 2003
Messages
743
Office Version
  1. 365
Platform
  1. Windows
Hello I'm trying to create a work sheet but im stuck on the formula


im trying to get my value from H10 which = 2
my cell my formula goes in is I10
my date is in I7
End date is in F10

can I create a formula thats in I10 that looks at a date in I7 and if its less than the date in F10 places a value from H10

hope this makes sense

thank you Jason
 
thank you joe4
my fault it works fantastic thank you
 
Upvote 0

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
thank you very much for your help
it was my fault, a little tweak and it worked great

=IF(AND(J6 > $F$10, J6 < $G$10),$I$10,"")
 
Upvote 0
Hello All
I was given this formula from Joe4 and it works fantastic and now I need to add a bit too it.
=IF(AND(AA6 >= $F$23, AA6 < $G$23),$I$23,"")

currently its looking between two dates but now I have been asked to add two dates can this be done?
I've tried guessing and I'm getting and argument error.

=IF(AND(AA6 >= $F$23, AA6 < $G$23),$I$23,AA6 >= K23, AA6 <L23),N23,"")

please advise
thank you jason
 
Upvote 0
Is this what you need
=IF(AND(AA6 >= $F$23, AA6 < $G$23),$I$23,IF(AND(AA6 >= $K$23, AA6 < $L$23),$N$23,""))
 
Upvote 0
You're welcome & thanks for the feedback
 
Upvote 0

Forum statistics

Threads
1,223,635
Messages
6,173,479
Members
452,516
Latest member
archcalx

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