Invalid Reference Error on INDEX MATCH to image

KDavidP1987

Board Regular
Joined
Mar 6, 2018
Messages
51
Greetings all!


I am a new member to MrExcel Discussion Boards, but have relied on your wisdom for years. Unfortunately, I came across an issue that I cannot find a solution to, and I have tried searching everywhere for an explanation. I will try explaining as best as I can, please let me know if you have any follow-up questions.

THE PROBLEM:
I am trying to use an INDEX MATCH function to pull an agent's profile picture into an Coaching sheet / dashboard, but when I reach the final step listed in every post/video I receive this error


:eek: Microsoft Excel: Reference is NOT valid!


STEPS USED:

  1. Created dropdown list of agent's names using data validation
    • I can confirm this works, because my other INDEX match function successfully pulls their monthly metrics correctly
  2. Increase height of rows where agent's name and other info is listed, inserted default profile picture for testing within each agents Employee Picture Column.
    • Ensured pictures do NOT extend beyond borders of the cell!
  3. Create INDEX MATCH formula to reference the agent's name with the column their profile pic is in.
    • =INDEX(EmployeeRoles[[FootPrints Name]:[Employee Picture]],MATCH(AgentName,EmployeeRoles[FootPrints Name],0),6)
      • Links are relative (uses cell title from column header), data tables in workbook are formatted as tables
      • Tested to ensure it worked, by placing a test value in the cell. Confirmed it pulled the test value!
  4. Move INDEX MATCH formula into Name Manager, titled ProfilePic, refers to is the formula
  5. Created image to be changed, on the coaching sheet
    • Tried the following methods of this, based on different methods found in forums/videos
      • Created BitMap image (from Insert tab -> Object)
      • Copied the cell underneath a profile picture, then pasted special as linked Picture
      • Copied an agent's profile picture and pasted it into the coaching sheet
  6. Click the image (various types attempted), change formula to name used in naming manager =ProfilePic
  7. :eek: ERROR MESSAGE = Microsoft Excel: Reference is NOT valid! :eek:

Side notes:

  • As I mentioned, I can put text into the cell where the image should be pulled, and the text is successfully extracted by the INDEX MATCH formula
  • I can make the picture reference other cells successfully, including linking it manually to the cells where the pictures are located. It only throws the error when I try referencing the named formula (from Naming Manager)

Here are some links to posts/videos of what I'm trying to accomplish:





I cannot figure out what I'm doing wrong. I know the INDEX MATCH formula works, and I know the picture will successfully change to a statically/manually assigned cell. I've tried inserting pictures different ways. I've confirmed the correct Name used from Name Manager. It's like it refuses to accept the link to the Name Manager formula, but I just don't know why...


Any ideas, please?


Sincerely,
Kristopher
 

Some videos you may like

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college

Special-K99

Well-known Member
Joined
Nov 7, 2006
Messages
8,341
In the comments below the Youtube video someone says they reckon they found the solution to "Reference Not Valid" though I havent delved any deeper into this
 

KDavidP1987

Board Regular
Joined
Mar 6, 2018
Messages
51
Thank you for pointing that out, I missed it! Maybe it is an issue with using the named relative named ranges to reference the cells, perhaps Naming Manager doesn't like that... I have yet to test it out, but I will as soon as I can and let y'all know!

Roderick de Leeuw
7 months ago (edited)
I believe I found the answer to the issue of 'reference not valid'. After a lot of frustration I noticed that when I tried to connect the image to the 'name' (=....) the formula in the name manager had changed.

> So use the $$ signs or press F4 on the cells in the formula you upload there and I was good to go.

Good to know:
- Naming my ranges broke my formula, so I switched back to 'hard values'
- Pasting in various ways (paste special) didn't make any difference after I fixed the before mentioned

Hope this helps!
 

Watch MrExcel Video

Forum statistics

Threads
1,090,459
Messages
5,414,643
Members
403,540
Latest member
mmorejon1215

This Week's Hot Topics

Top