Forum Discussion

RobinJakobsson123's avatar
RobinJakobsson123
Copper Contributor
Sep 30, 2021
Solved

Calculate date in a specific product list

Hi,

 

I would need to be able to calculate a shortage date/time. Attached document represents all assembly product starts in a factory. Based on what the user/vlookup will enter in G1-G4, I would like to return the product number in this list and the start position of the day .

 

As an example, the user enter a shortage: 111112

 

So with 7+5 positions ahead I would like this script to return:

Date: 6/10

Product: 111116

1:st product start of the day.

 

I guess that one solution could be a VBA that counts down the column only where format is "XXXXXX".

 

(And the layout of the excel product list can unfortunately not be changed/redesigned).

7 Replies

Resources