I have an Excel sheet looks like below. I want the start date and end date for a task
Data
HTML Code:
Summarized to
HTML Code:
Can you please help me
I have an Excel sheet looks like below. I want the start date and end date for a task
Data
HTML Code:
Summarized to
HTML Code:
Can you please help me
Last edited by AV114; 09-20-2018 at 02:58 AM. Reason: attaching the file
Are you sure you want to use VBA? You can achieve these values with formulas:
B18 and C18 (Enter with Ctrl+Shift+Enter):
D18:Please Login or Register to view this content.
WBDPlease Login or Register to view this content.
Office 365 on Windows 11, looking for ✶ rep!
Try this:
Please Login or Register to view this content.
@ikboy
Great code. To adjust the output for dates it is better to use CLng
Please Login or Register to view this content.
Please Login or Register to view this content.
< ----- Please click the little star * next to add reputation if my post helps you
Visit Forum : From Here
You can do it with a Pivot Table
Please Login or Register to view this content.
Surround your VBA code with CODE tags e.g.;
[CODE]your VBA code here[/CODE]
The # button in the forum editor will apply CODE tags around your selected text.
YasserKhalil ,
You right, Clng is better.
Thx
ikboy
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks