Eric W

MrExcel MVP
Joined
Aug 18, 2015
Messages
12,939
Opened on behalf of @jmb1986 who sent me a PM.

Some bookkeeping items first. If you click on the Forum Rules link in my signature, and look at rule 4, it says you should not solicit help via PM. Several reasons for this, partly because if you ask it in a post others can benefit from it, partly because the person you contact may not have availability at the time, among other reasons. Also, since you're a new member, I'm unable to PM you in response. So I hope you receive the tag notice and look up this thread.


Now to the gist of your query:

jmb1986 said:
Hi Eric,


I am trying to prepare my monthly business mileage report based on the meetings I attended for that particular month by exporting the data from my outlook diary. Outlook allows you to export the data to CSV, which I then convert to a Microsoft Excel file.

I would like to use the data (subject, date and start time of meeting) to prepare a TEXTJOIN with two conditions; by grouping all the meetings on a specific date in one cell, in ascending order from AM to PM for each of the days I had a meeting.

It would help if you could show a sample of your input data, and your expected results (possibly use the HTML Maker in my signature). But as described, the problem is with sorting the start times. No current native function can sort. (A SORT function is in beta for Excel 365, coming out soon.) So if you want to sort them, you'd need a set of helper columns to create some formulas to extract the rows with the right date, sort them, then use TEXTJOIN on that column. Alternatively, you could use some kind of UDF (User-Defined Function).

Let us know.
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.

Forum statistics

Threads
1,213,486
Messages
6,113,932
Members
448,533
Latest member
thietbibeboiwasaco

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