Formula to create date by looking for highest date based on criteria and adding 1.

DerekWooley

New Member
Joined
May 1, 2018
Messages
34
Hi, I would like to know if there is a formula that could to create a date by looking for the highest date with the same criteria and then adding 1 day to it to make it greater. For example, in the below table I want the last row in Col E to look at item 932 and see that 11/3/2019 is the highest date, then make the last cell in Col E 11/4/2019. Also, for 2972, I want the last row for that item to look at 2/23/2019, and make it 2/24/2019.

[TABLE="width: 664"]
<tbody>[TR]
[TD]Col A
[/TD]
[TD]Col B
[/TD]
[TD]Col C
[/TD]
[TD]Col D
[/TD]
[TD]Col E
[/TD]
[TD][/TD]
[TD]Col F
[/TD]
[/TR]
[TR]
[TD]Item No.
[/TD]
[TD]CUR STK
[/TD]
[TD]Projected Stock
[/TD]
[TD]Machine
[/TD]
[TD]Start Date
[/TD]
[TD][/TD]
[TD]Mach Run Qty
[/TD]
[/TR]
[TR]
[TD]2972
[/TD]
[TD]2500
[/TD]
[TD]2500
[/TD]
[TD]Mach 1
[/TD]
[TD]6/29/2018
[/TD]
[TD][/TD]
[TD]11,000
[/TD]
[/TR]
[TR]
[TD]2972
[/TD]
[TD]2500
[/TD]
[TD]13500
[/TD]
[TD]Mach 1
[/TD]
[TD]2/23/2019
[/TD]
[TD][/TD]
[TD]17,000
[/TD]
[/TR]
[TR]
[TD]2972
[/TD]
[TD]2500
[/TD]
[TD]13500
[/TD]
[TD]Mach 2
[/TD]
[TD]1/11/2019
[/TD]
[TD][/TD]
[TD]7,000
[/TD]
[/TR]
[TR]
[TD]2972
[/TD]
[TD]2500
[/TD]
[TD]37500
[/TD]
[TD]Mach 2
[/TD]
[TD][/TD]
[TD][/TD]
[TD]8,000
[/TD]
[/TR]
[TR]
[TD]932
[/TD]
[TD]4500
[/TD]
[TD]4500
[/TD]
[TD]Mach 1
[/TD]
[TD]6/5/2018
[/TD]
[TD][/TD]
[TD]30,000
[/TD]
[/TR]
[TR]
[TD]932
[/TD]
[TD]4500
[/TD]
[TD]34500
[/TD]
[TD]Mach 1
[/TD]
[TD]8/8/2019
[/TD]
[TD][/TD]
[TD]50,000
[/TD]
[/TR]
[TR]
[TD]932
[/TD]
[TD]4500
[/TD]
[TD]84500
[/TD]
[TD]Mach 2
[/TD]
[TD]11/3/2019
[/TD]
[TD][/TD]
[TD]27,000
[/TD]
[/TR]
[TR]
[TD]932
[/TD]
[TD]4500
[/TD]
[TD]111500
[/TD]
[TD]Mach 2
[/TD]
[TD][/TD]
[TD][/TD]
[TD]27,000
[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
I also wanted to add that I want to be able to drag the formula down since I have like 600 of these dates to fill out but I need to avoid circular references since it looks at the same column. Would I use a helper column of some sort?
 
Upvote 0
Note that my dates are in d/m/y format, but see if this, copied down, is what you are after.

Excel Workbook
ABCDEFG
1Item No.CUR STKProjected StockMachineStart DateMach Run Qty
2297225002500Mach 129/06/201811,000 
32972250013500Mach 123/02/201917,000
42972250013500Mach 211/01/20197,000
52972250037500Mach 28,00024/02/2019
693245004500Mach 15/06/201830,000
7932450034500Mach 18/08/201950,000
8932450084500Mach 23/11/201927,000
99324500111500Mach 227,0004/11/2019
Max date +1
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,171
Members
453,021
Latest member
Justyna P

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