ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Is there a VLOOKUP substitute when data is not in ascending order (https://www.excelbanter.com/excel-worksheet-functions/9444-there-vlookup-substitute-when-data-not-ascending-order.html)

VJ7777

Is there a VLOOKUP substitute when data is not in ascending order
 
I need to create a report (from multiple workbooks) of activities that are to
occur "today" from a list of dates (Column A)and events (Column B). but the
dates might not be in ascending order and some cells in Column A may not
contain a date. There is one such "table" in each workbook. The report
would look like this:
Today's Date
Workbook1 Empty trash
Workbook2 (blank) because there is nothing to be done today
Workbook3 Cook dinner
Is this possible?

Jason Morin

When you set VLOOKUP to find an exact match, your data
doesn't need to be sorted. Set the 4th argument to 0.

=VLOOKUP(---,---,---,0)

HTH
Jason
Atlanta, GA

-----Original Message-----
I need to create a report (from multiple workbooks) of

activities that are to
occur "today" from a list of dates (Column A)and events

(Column B). but the
dates might not be in ascending order and some cells in

Column A may not
contain a date. There is one such "table" in each

workbook. The report
would look like this:
Today's Date
Workbook1 Empty trash
Workbook2 (blank) because there is nothing to be

done today
Workbook3 Cook dinner
Is this possible?
.


Arvi Laanemets

Hi

To avoid an error when there is nothin found:
=IF(ISERRROR(VLOOKUP(...,...,...,0)),"",VLOOKUP(.. .,...,...,0))
or
=IF(ISNA(VLOOKUP(...,...,...,0)),"",VLOOKUP(...,.. .,...,0))

--
When sending mail, use address arvil<attarkon.ee
Arvi Laanemets


"VJ7777" wrote in message
...
I need to create a report (from multiple workbooks) of activities that are

to
occur "today" from a list of dates (Column A)and events (Column B). but

the
dates might not be in ascending order and some cells in Column A may not
contain a date. There is one such "table" in each workbook. The report
would look like this:
Today's Date
Workbook1 Empty trash
Workbook2 (blank) because there is nothing to be done today
Workbook3 Cook dinner
Is this possible?





All times are GMT +1. The time now is 02:54 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com