+ Reply to Thread
Results 1 to 2 of 2

Pulling a picture instead of texts and numbers

  1. #1
    Registered User
    Join Date
    05-15-2013
    Location
    US
    MS-Off Ver
    Excel 2010
    Posts
    20

    Pulling a picture instead of texts and numbers

    OK so I have this formula =INDEX('Parking Sticker Log1.xlsx'!Picture,MATCH(D13,'Parking Sticker Log1.xlsx'!EENumber,0)) that can pull text, numbers, etc. from a cell in a different spreadsheet but within the same workbook and it does the job when i need it to pull texts, numbers, etc. My question is I need this to pull a picture from the cell, for some reason I can pull texts, numbers, etc. but not the picture from the cell. Any help on this would be helpful

  2. #2
    Forum Expert
    Join Date
    06-26-2010
    Location
    Austin, TX
    MS-Off Ver
    Excel 2010
    Posts
    1,673

    Re: Pulling a picture instead of texts and numbers

    Pictures are not really in the cell. For example, if you select the cell just to the left of the picture and then use the right arrow key to go to the cell with the picture, you can type in a formula or value in that cell and the picture will not be affected. Pictures are Shapes in excel and 'float above' the cells in the spreadsheet.
    Your goal is not impossible, though. A lot of people use VBA, but I have attached a non-VBA example that should show you the proof of concept, but it is a little tricky. Just type in 1, 2, or 3 into cell C1 and you can see the picture beneath it change.
    First, input your pictures and make note of the cell ranges they cover.
    Second, create a Named Range using Name Manager. I called mine "MyPic" and used this formula to define it:
    =CHOOSE(Sheet1!$C$1,Sheet1!$C$15:$D$17,Sheet1!$C$18:$D$21,Sheet1!$C$22:$D$26)
    You can see how the cell C1 is used to choose the ranges of my pictures. Note how the ranges can be different sizes.
    Third, select any range of cells and use the camera tool to then place a picture of those cells where you want your picture to be shown.
    Finally, click on the picture and in the formula bar change its formula to your named range (=MyPic, in my example).
    Attached Files Attached Files
    Last edited by Pauleyb; 02-19-2014 at 10:56 AM.
    Pauley
    --------
    If I helped with your issue, I'd appreciate a rep bump (hit the '*' icon to the bottom left of this post).

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Remove Numbers from texts in excel column
    By glfarnando in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-31-2014, 05:03 AM
  2. Replies: 2
    Last Post: 05-07-2013, 03:55 AM
  3. [SOLVED] Need help transpose Texts and Numbers from Horizontal to vertical to the last Row
    By tuongtu3 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-07-2013, 01:51 PM
  4. Replies: 3
    Last Post: 06-25-2008, 04:25 AM
  5. Sorting texts and numbers as if it was all numbers
    By Werner in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-07-2005, 04:05 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1