Index Match question

DroZ3

New Member
Joined
Mar 22, 2018
Messages
22
Office Version
  1. 365
Platform
  1. Windows
I have an issue (rather my boss has an issue) with a blank row in a list resulting from a Index-Match formula, here is the detail of my issue :

I have a list (partial list below) which is the result of an export from our ERP system.
Row A shows transaction items in the ERP.
Rows B and C show the employee ID and hours logged in the transaction.
Because of other formulas, I need to keep the rows with a transaction number (Sxxx) but NO corresponding employee ID (column B) or hours (column C).

1641918163708.png


That being said, in another sheet I am doing a INDEX MATCH to index all the employee ID in order to sum all the hours per employee.
Problem is that the blank rows in the sheet above result in a blank row in the following sheet, see row 32 below.

1641919195083.png

SanitizedTBPList is the vertical range of employee ID starting with cell B3 in the first image above.

Question : How can I modify the formula (green arrow) to skip the blank rows in the first image above ?

Thanks in advance for the help.
 

Attachments

  • 1641918026666.png
    1641918026666.png
    37.3 KB · Views: 6
  • 1641918838687.png
    1641918838687.png
    45.9 KB · Views: 7

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
What version of Excel are you using?

I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)
 
Upvote 0

Forum statistics

Threads
1,222,405
Messages
6,165,867
Members
451,989
Latest member
DannyBoy1977

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