Formula to track the age of inventory

ryan_o

New Member
Joined
Sep 19, 2014
Messages
3
I have searched the net but haven't been able to find the formula I am looking for. I have a spreadsheet where I have the amount of inventory in column C and the date purchased in column H. I am trying to come up with a column to automatically count the age of the product from the purchase date. I would like the age to keep counting as longs as the quantity in column C is greater than 0.

So far in the age column I have =DATEDIF(H3,TODAY(),"d") which is properly counting how many days it has aged. But I need the age to stop once I adjust the inventory to 0.
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
Thank you for the quick response. It seems like it works but whenever I drop the inventory to 0 it also changes the days aged to 0. Is there a way that when I change the quantity to 0 that it just stops on the days aged at that point and doesn't continue to count?
 
Upvote 0
That sounds above my head. I will just delete the formula in the cell and manually put the last day in. Thank you for the responses.
 
Upvote 0

Forum statistics

Threads
1,214,989
Messages
6,122,622
Members
449,093
Latest member
catterz66

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