Using multiple IF functions to create a small table from a large source table

mlewhe

New Member
Joined
Jul 20, 2020
Messages
1
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
I want to create a table that will only pull certain entries from a large report. This report is updated fortnightly so it needs to be quick and easy to update the functions. For others I have found the search and replace tool to work well for the name of the source document.

This is what I currently have:
=IF(LEN('[REPORT1_20200703.xlsx]Sheet1'!$AM32),IFERROR(INDEX('[REPORT1_20200703.xlsx]Sheet1'!H$2:H$999,SMALL(INDEX(ROW($1:$999)+('[REPORT1_20200703.xlsx]Sheet1'!$AM$1:$AM$999<>'[REPORT1_20200703.xlsx]Sheet1'!$AM32)*1E+99,,),ROW(1:1))),""),"")

This formula is currently checking for my first criteria, but not my second criteria.

I want it to search ALL entries in column AM to find only those that look like "Customer Services" (this is currently in AM32, but thinking I should use an absolute reference from my main workbook, as that may change each fortnight) and also those that DO NOT have "N/A" in column AE. Then I want it to display ALL relevant entries & the data from those row, but as follows:

BCDEFGHIJKL
Display: Report 1, AMDisplay: Report 1, HDisplay: Report 1, GDisplay: Report 1, KDisplay: Report 1, ABDisplay: Report 1, BFDisplay: Report 1, EDisplay: Report 1, Z
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.

Forum statistics

Threads
1,214,924
Messages
6,122,294
Members
449,077
Latest member
Rkmenon

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