I need a way to update the prices of products in a spreadsheet.
When I paste the latest information into columns D:F, I want a formula to search column A for products that match column D and, for any matches, update the price in column C to match the price in column D.
The problem is that the products in columns D:F will be in a different order than A:C. I wonder if the image can be used as an identifier because it is unique to each product.
Below is some sample data, and where A8 matches D3 therefore the price in C8 should be updated to match F3. I have also shared my spreadsheet here with the same cells highlighted in orange.
| A | B | C | D | E | F | |
|---|---|---|---|---|---|---|
| 1 | Name | Image | Price | New Name | Image | New Price |
| 2 | mystic-sunset-montipora-wysiwyg | o4stfpc7ots5s1rgsl | $39 | raisin-green-acropora-sp-frag | 16licr11is4jcsr1 | $25 |
| 3 | bright-green-acropora-tenuis-frag-wysiwyg-2 | 154cpjb9sy9faor0o0r0sgs | $59 | blue-montipora-digitata-frag-wysiwyg | 112ansphfei3pt8gMl | $36 |
| 4 | cac-interstellar-acropora-gemmifera-frag-wys | 1Mslj2tgp56to9 | $28 | cac-interstellar-acropora-gemmifera-frag-wys | 1Mslj2tgp56to9 | $28 |
| 5 | cool-blue-smoothskin-acropora-sp-frag-wysiwy | t6fpm1s6s1ohnt95 | $119 | cool-blue-smoothskin-acropora-sp-frag-wysiwy | t6fpm1s6s1ohnt95 | $120 |
| 6 | birds-of-paradise-birdsnest-o4 | 1e161dMrsnhc2of78 | $34 | birds-of-paradise-birdsnest-o4 | 1e161dMrsnhc2of78 | $34 |
| 7 | needle-in-a-haystack-acropora | frv5d9otIcpc481lftoM | $59 | needle-in-a-haystack-acropora | frv5d9otIcpc481lftoM | $61 |
| 8 | blue-montipora-digitata-frag-wysiwyg | 112ansphfei3pt8gMl | $34 | bright-green-acropora-tenuis-frag-wysiwyg-2 | 154cpjb9sy9faor0o0r0sgs | $59 |
| 9 | raisin-green-acropora-sp-frag | 16licr11is4jcsr1 | $24 | mystic-sunset-montipora-wysiwyg | o4stfpc7ots5s1rgsl | $39 |