Auto Populate Data based on Start & End Date

Copper Contributor

=IF(AND(K$2>=$G255,K$2<=$H255),$I255,"")

 

With the current formula above, I have to enter the "End Date" in order for it to populate. I would like for it populate when the End Date is blank, then once the End Date is entered it would true it up to that date.

 

CURTISSHORT_1-1617742169655.png

 

CURTISSHORT_0-1617742241510.png

 

5 Replies

@CURTISSHORT 

 

May I suggest that you attach not an image but a copy of the actual spreadsheet? Just so long as it includes no confidential information.

@mathetes I have attached it now. Thank you.

@CURTISSHORT 

I recognized nothing on the screenshot, in general that could be like

=IF(EndDate="", "", EndDate - StartDate)

 

I have attached the file now to the post...sorry I thought I had.
First off, thank you both for taking a look at my formula and sheet. I believe I have figured out my formula. I basically add an IF AND to reflect when the end date is blank to populate across the sheet. Once the end date is entered, it trues up the cost to the end date of the item or equipment.

=IF(AND(K$2>=$G255,K$2<=$H255),$I255, IF(AND(K$2>=$G255, $H255=""),$I255,""))