Hi All,
Can you please help provide a formula to calculate the average delivery time (days) on a part# to arrive from its order date?
Sheet shows multiple rows with the same part# shown multiple times.
Example.jpg
Thanks in advance!
Hi All,
Can you please help provide a formula to calculate the average delivery time (days) on a part# to arrive from its order date?
Sheet shows multiple rows with the same part# shown multiple times.
Example.jpg
Thanks in advance!
Last edited by DAVE201992; 09-29-2018 at 10:07 PM.
.
Pics are nice but having a sample workbook is tons better. Please attach a workbook with the posted data included.
Thanks.
Hi Logit,
Have now added.
Thanks
Hi May be this
Formula:Please Login or Register to view this content.
☚ Click ★ just below left if it helps, Boo?ath?
.
Here is a macro version :
Please Login or Register to view this content.
Hi boopathiraja,
thanks for taking the time to answer my question.
Can you please tell me how this formula is calculated?
Thanks in advance
Hi Logit,
Thanks for getting back to me.
How do I insert this macro into the workbook?
Thanks in advance
.
Disregard my previous answer. I woke up this morning, started experimenting with the code (thought I could improve it) and discovered what worked last night doesn't work this morning.
The FUNCTION in my first answer appears to be highly volatile and causing too many errors.
So .. after some searching and editing ... this is the result. It appears (at this point) to be very, very stable and accurate. Won't really know until you give it a try there.
The macro below should be pasted into a module. It requires two command buttons pasted to Sheet 1. If you download the sample workbook and exam it ... it is all there for you to see.
The download workbook is fully functional as is for your purposes. You can transfer the code to your project or simply use the download workbook as your base and build on it.
Please Login or Register to view this content.
Last edited by Logit; 09-29-2018 at 04:28 PM.
Thank you very much Logit!
That works great!
I have found that I need to add additional columns to the sheet.
Are you able to please reconfigure the macro to take these into consideration?
sheet attached.
Thanks in advance
.
The ranges are the only things that need to be edited. If you study the previous code and compare it to the code below (the range designations) you will see the difference.
The code below is already to go. You can remove the previous code and paste the below in its place or better yet, just use the attached workbook. It is already set up for
20,000 rows of data.
Please Login or Register to view this content.
Thank you Logit
.
You are welcome.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks