Return #Days from today based on several conditions.

Plukey

Board Regular
Joined
Apr 19, 2019
Messages
138
Office Version
  1. 2016
Platform
  1. Windows
I don't have anything close to working yet. My boss needs to know if an item has been in inventory for more than 120 days added to a weekly report. It sounds easy at first, I have to manually accomplish the task and hoping someone has an idea. I'm okay with VBA or Formula or anything that is close that I can work off of. Any thing would be appreciated!


1st. I use dated if formula to count #days between column (AF) & Today then,
2nd. Filter Column (F) with just "N" & Blanks. Column (F) Only contains ( Y, N, Blanks) then,
3rd. Filter Column AH only Blanks. Column (AH) only contains Dates when an item has shipped. then,
4th. I manually enter the total lines that are over 120 days in a cell on our report sheet & copy and paste the list to a summary sheet in the workbook.
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
Please upload your example file & Desired Results with XL2BB ADDIN (Preferable) OR upload it at free uploading site e.g. www.dropbox.com or googledrive or onedrive and insert link here.
 
Upvote 0
Please upload your example file & Desired Results with XL2BB ADDIN (Preferable) OR upload it at free uploading site e.g. www.dropbox.com or googledrive or onedrive and insert link here.
Unfortunately, where I work I'm prohibited and blocked from sending any information. Thank you anyway for the quick response.
 
Upvote 0
Maybe I can clarify and make it sound a little less confusing..

Count the number of days between TODAY() and Column AF
*****Only if Column (F) = a letter "N" or a Blank Cell & If Column (AG) through (AM) are Blank cells.

that'll get me started.
 
Upvote 0
I guess something like this, I typed up real quick, tested and it gives errors.

Excel Formula:
=IF(F2="",TODAY()-AF2,IF(F2="*N*",TODAY()-AF2,IF(AG:AM="",TODAY()-AF2)))
 
Upvote 0
Try
Put formula in AB3
Excel Formula:
=IF(OR(F3="N",F3=""),IF(AND(AG3="",AH3="",AI3="",AJ3="",AK3="",AL3="",AM3=""),TODAY()-AF3,""),"")
 
Upvote 0
Solution

Forum statistics

Threads
1,214,413
Messages
6,119,374
Members
448,888
Latest member
Arle8907

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