Index Match question

DroZ3

New Member
Joined
Mar 22, 2018
Messages
20
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: 0
  • 1641918838687.png
    1641918838687.png
    45.9 KB · Views: 1

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
67,759
Office Version
  1. 365
Platform
  1. Windows
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’)
 
Learn Excel from Bill Jelen

Understanding data is crucial, and the easiest place to start is with Microsoft Excel.

Forum statistics

Threads
1,151,492
Messages
5,764,686
Members
425,230
Latest member
DzOus

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
Top