Yiyan fọto kan lati inu akojọ aṣayan silẹ

Ilana ti iṣoro naa

It is necessary to make sure that in one of the cells of the sheet there is a drop-down list with names, when selected from which, the product would be displayed next to it as a photo:

Fidio

Step 1. Create a directory with a photo and give it a name

We create on Awọn akojọ 1 we are a catalog with names and photos of goods, consisting of two columns (awoṣe и Photo):

Now we need to give a name to our directory in order to refer to it in the future. In Excel 2003 and older, for this we go to the menu Insert – Name – Assign (Insert – Name – Define), and in Excel 2007 and newer – click on the button Orukọ Alakoso taabu Awọn agbekalẹ. Create a range – enter a name (for example Photo Album) and specify the formula as the address:

=СМЕЩ(Лист1!$A$1;1;0;СЧЁТЗ(Лист1!$A:$A)-1;1)

=OFFSET(Лист1!$A$1;1;0;COUNTA(Лист1!$A:$A)-1;1)

Yiyan fọto kan lati inu akojọ aṣayan silẹ

This formula determines the last occupied cell in column A and outputs the range from A2 to this found cell. Such a relatively complex construction is needed in order to subsequently add new models to our list and not think about correcting the range. If you don’t have to add anything for sure, then instead of entering this scary formula, just enter =A2:A5

Step 2. Drop-down list for choosing a model

Let’s go to Dẹẹti 2 and create a cell there with a drop-down list for the user to select a phone model (let it be A1). Select a cell and go to the menu Data - Ṣayẹwo (Data - Ifọwọsi) or in new versions of Excel – on the tab Data – Data Validation (Data – Data Validation). Further into the field Iru Data (Gba laaye) yan List, sugbon bi orisun indicate our Photo Album (don’t forget to add an equal sign in front of it):

Yiyan fọto kan lati inu akojọ aṣayan silẹ

In addition, it is convenient to give this cell a name – menu again Fi sii - Orukọ - Fi sii and then enter a name (for example wun) ati OK.

Step 3: Copy the Photo

Let’s move the first photo from the photo album to the drop-down list. Select the cell with the first photo (not the picture itself, but the cell!) and

in Excel 2003 and later, hold down Shift to open the menu Ṣatunkọ. A previously invisible item should appear there. Copy as Picture:

In Excel 2007 and newer, you can simply expand the dropdown below the button Copy (Copy) on Home taabu:

In Excel 2010, another additional window will appear with a choice of the type of image to be created:

Yiyan fọto kan lati inu akojọ aṣayan silẹ

In it, you need to select the options “as on the screen” and “raster”.

Copy, go to Dẹẹti 2 to the drop-down list and in any empty cell near it, insert our mini-screenshot of the cell with a photo (menu Edit – Paste or the usual Konturolu + V).

Step 4. Create a dynamic link to the selected photo

Now you need to make a link that will point to the cell with the selected photo. Opening the menu Fi sii – Name – Setumo or Orukọ Alakoso taabu Awọn agbekalẹ and create another named range:

Yiyan fọto kan lati inu akojọ aṣayan silẹ

The name of our link, let’s say, will be Photo, and the formula

=СМЕЩ(Лист1!$B$2;ПОИСКПОЗ(Выбор;Фотоальбом;0)-1;0;1;1)

=OFFSET(Лист1!$B$2;MATCH(Выбор;Фотоальбом;0)-1;0;1;1)

Technically, a function BARAMU finds a cell with the desired model in the catalog by name, and the function TITẸ then gives a link to the cell adjacent to the right of the found name, i.e. cell with a photo of the product.

Step 5. Attaching a photo to a link

It remains to select the copied photo on Awọn akojọ 2 and enter in the formula bar

=Photo

ki o tẹ Tẹ

All! 🙂

 

  • Create drop down list in worksheet cells 
  • Ṣiṣẹda ti o gbẹkẹle Dropdowns 
  • Ṣe Awọn atokọ Isọ silẹ Aifọwọyi pẹlu Awọn irinṣẹ Fikun-un PLEX 
  • Akojọ sisọ silẹ pẹlu piparẹ aifọwọyi ti awọn ohun elo ti a ti lo tẹlẹ
  • Dropdown list with automatic addition of missing items

Fi a Reply