ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Match/Index problem with new rows (https://www.excelbanter.com/excel-discussion-misc-queries/208779-match-index-problem-new-rows.html)

hmsawyer

Match/Index problem with new rows
 
I have the following formulas set up and they work fine for rows 3 - 21,
which was what it was initially set up for. However, I added additional rows
(up to 101) to the original worksheet and now only the match works. It
always pulls the correct data, but the index only returns #REF for all of the
fields it is in these newly added rows.

=MATCH(E3,Employees,0)

=IF(INDEX(Data,$H$3,COLUMN(A1))="","",INDEX(Data,$ H$3,COLUMN(A1)))

=IF(A6="","",INDEX(Data,$H$3,COLUMN(B1)))

How can I get it corrected for the new rows? Thank you.


ShaneDevenshire

Match/Index problem with new rows
 
Hi,

Most likely your range name Data needs to be redefined to cover the entire
101 rows. Insert, Name, Define...
--
Thanks,
Shane Devenshire


"hmsawyer" wrote:

I have the following formulas set up and they work fine for rows 3 - 21,
which was what it was initially set up for. However, I added additional rows
(up to 101) to the original worksheet and now only the match works. It
always pulls the correct data, but the index only returns #REF for all of the
fields it is in these newly added rows.

=MATCH(E3,Employees,0)

=IF(INDEX(Data,$H$3,COLUMN(A1))="","",INDEX(Data,$ H$3,COLUMN(A1)))

=IF(A6="","",INDEX(Data,$H$3,COLUMN(B1)))

How can I get it corrected for the new rows? Thank you.



All times are GMT +1. The time now is 04:40 AM.

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