Unique values in columns depending on other columns

mbirchler

New Member
Joined
Apr 11, 2014
Messages
1
Invoice #
Order #
Customer #
Item #
Item QTY
100001
1001
10
XB33
2
100335
1021
10
XB33
6
103009
1103
10
XB33
3

<tbody>
</tbody>

Very small sample table. But let's say I wanted to add 2 columns to this.

The first one would be labeled: Reorder?
What I'm looking to accomplish with this is to signify that rows 2 and 3 are re-orders of an item first ordered in row 1 (my data has invoice dates ordered oldest to newest, as well as several hundred of rows in between each potential re-order). Anything can go into the field.. Y, 1, True, anything.

The next field would be labeled: Reorder Time
If it's a reorder then I would like it to calculate the time difference between the current row's Invoice date and the invoice date from the last data row order/reorder of that item.

HELP ;)
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.

Forum statistics

Threads
1,214,946
Messages
6,122,401
Members
449,081
Latest member
JAMES KECULAH

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