Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 10-18-2015, 12:05 PM
Emperor Emperor is offline Expiry Date Excel sheet! Windows 7 64bit Expiry Date Excel sheet! Office 2010 64bit
Novice
Expiry Date Excel sheet!
 
Join Date: Oct 2015
Posts: 3
Emperor is on a distinguished road
Lightbulb Expiry Date Excel sheet!

Hey all,

Im always amazed at the ability of humans to find solutions for problems and their ability to improve everything. Im looking for something like that here too.

I am a complete beginner when it comes to excel but it fascinates me with the things it can achieve.

currently i am working for a company that among other things sells food and stuff with an expiry date.

So far the way the company handles this is by having an excel sheet with the list of the products and a possible expiry date that i have to manually search per product. every month i get a new list that i have to check over again from scratch.

I wanted to make it a bit more interactive and progress a bit things by changing the sheet slightly... ok maybe not slightly... ill go Frankenstein on it.


Ok so heres what im thinking:
Ill have one excel page that includes
column 1: product number (easy to search the product by that in store)
column 2: product name and description


column 3: number of days close to current day (using the TODAY() function
Column 4-10 possible expiery dates (yes some products have maaaany expiery dates like Coka~Cola can have 3+ different per month)


After I complete the expiry dates on the columns 4+ i would like to create a space on another page, if possible, that shows all the dates that are 20 days or closer to today. (or at least the 20 closest expiery dates from the columns 4-10 of the first page)

Think thats possible?
Also any ideas of how to make it better are welcome
Thank you for taking the time to read through!
Reply With Quote
  #2  
Old 10-18-2015, 03:29 PM
macropod's Avatar
macropod macropod is offline Expiry Date Excel sheet! Windows 7 64bit Expiry Date Excel sheet! Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

If you have the expiry dates or the # days remaining in a single column, you can use Excel's filtering tools to filter that column according to whether the date/days falls within your 20-day parameter. No need for an extra sheet. Conditional formatting could also be used to automatically highlight items with less than 21 days remaining.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #3  
Old 10-19-2015, 05:02 AM
Emperor Emperor is offline Expiry Date Excel sheet! Windows 7 64bit Expiry Date Excel sheet! Office 2010 64bit
Novice
Expiry Date Excel sheet!
 
Join Date: Oct 2015
Posts: 3
Emperor is on a distinguished road
Thumbs up

Hmmm nice thinking, simple and effective.

Id prefer to keep the spreadsheet in numerical order of the product number, thats why i was wondering if theres a way to select the expiry date columns and make the closest dates appear in other selected columns (other page or other part of same page).

but thank you, if i cant find what im looking for this is the best solution so far!

Reply With Quote
  #4  
Old 10-19-2015, 02:20 PM
macropod's Avatar
macropod macropod is offline Expiry Date Excel sheet! Windows 7 64bit Expiry Date Excel sheet! Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Filtering has no effect on the order in which the data are stored; it sounds like you're confusing filtering with sorting.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #5  
Old 10-27-2015, 12:33 AM
ufopilot ufopilot is offline Expiry Date Excel sheet! Windows XP Expiry Date Excel sheet! Office 2007
Novice
 
Join Date: Oct 2015
Posts: 6
ufopilot is on a distinguished road
Default

Maybe this would help a little - at least get you on the right track
Attached Files
File Type: xlsm expDate.xlsm (14.1 KB, 17 views)
Reply With Quote
  #6  
Old 10-27-2015, 02:44 PM
Emperor Emperor is offline Expiry Date Excel sheet! Windows 7 64bit Expiry Date Excel sheet! Office 2010 64bit
Novice
Expiry Date Excel sheet!
 
Join Date: Oct 2015
Posts: 3
Emperor is on a distinguished road
Thumbs up

Dude! you're a legend this is exactly what i was looking for!

By giving it a look i can see how it works (more or less) and I think that I can now solve another problem I have encountered trying to display numbers.

If I have 0 stock of a product there will be no expiry date in ANY box of that product... and of course that would return the numerical value of 0 - the numerical value of the current date, correct?
[so for right now 27/10/15 and time 23:34, the "days left" box returns the value of "-42304" ]

So Ill probably need to include a bit more of an "IF" statement indicating that if there is no value in the boxes targeted, it should return nothing. (am I on the right thinking here?)
Reply With Quote
  #7  
Old 10-27-2015, 11:50 PM
ufopilot ufopilot is offline Expiry Date Excel sheet! Windows XP Expiry Date Excel sheet! Office 2007
Novice
 
Join Date: Oct 2015
Posts: 6
ufopilot is on a distinguished road
Default

I have added conditional formatting to the rows/cells that have "0" as an expiration date (sheet2 will give you a little hint on how to do this). You can also use this to conditional format the column so that the wording "No Exp. Date" will show up is a different color.
In order to show this wording, I had to change the formula to start with summing each row of expiration dates - when the sum is then zero (0), it will result in the wording, if not, then it will continue to do as the formula before did. - this means that each cell it sums in a particular row, will need to read zero. Hope this helps


I had to split the two sheets, deleted some columns in the first and save one as a JPG, as the file size was too big to attach. Maybe you can enlarge the JPG to view.
Attached Images
File Type: jpg sheet2.jpg (97.4 KB, 19 views)
Attached Files
File Type: xlsm expDate.xlsm (16.6 KB, 11 views)
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Expiry Date Excel sheet! macro to automatically date sheet tab Jackie Excel Programming 13 05-24-2015 02:36 PM
Expiry Date Excel sheet! Expiry date in excel splinter09 Excel 3 12-10-2014 06:09 AM
Excel pivot table with a DATE value field for some reason stops at a certain date angie450 Excel Programming 2 08-19-2014 08:50 AM
How to fetch data from one sheet to another with complete details and date wise as well harisjawed86 Excel Programming 1 08-05-2014 09:10 PM
Letter date changes when merging with Excel - not the format, the actual date! Smallweed Mail Merge 1 02-07-2014 06:00 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 02:10 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft