formula from a date in a different cell

j4ymf

Well-known Member
Joined
Apr 28, 2003
Messages
741
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

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
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,214,988
Messages
6,122,620
Members
449,092
Latest member
amyap

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