I'm having real trouble trying to get this to work for me. To help explain what I need to do I've produced a (hopefully) very simple example below...
What I would like to do is:
- Within a range of cells
A:A
findJ Bloggs
(note there can be multiple entries and I need all of them) - When an order from
J Blogs
is found copy his order dateB1
, request del. dateC1
and actual del. dateD1
- Paste this information into a table
G1:J4
NB: The list of customers can be long, and some customers may make seperate orders. I need to generate a list of all of these orders (don't need to check if date is in the past etc.).
Each time the query is run, say this time for H Simpson
, only the details for H Simpson
will appear in the table G1:J4
+---------------+----------------+---------------------+------------------+
| Customer | Order Date | Requested Delivery | Actual Delivery |
+---------------+----------------+---------------------+------------------+
| J Bloggs | 01/01/2013 | 02/01/2013 | 02/01/2013 |
| H Simpson | 05/01/2013 | 08/01/2013 | 09/01/2013 |
| A Name | 10/01/2013 | 10/01/2013 | 10/01/2013 |
| J Bloggs | 15/01/2013 | 22/01/2013 | 22/01/2013 |
+---------------+----------------+---------------------+------------------+