1 min readfrom Microsoft Excel | Help & Support with your Formula, Macro, and VBA problems | A Reddit Community

Vlookup on empy field with referece to line above

Our take

If you're facing challenges with VLOOKUP when dealing with empty fields in your spreadsheet, you're not alone. In your scenario, where each article has two distinct prices—“Zelfstandige” and “Partikulier”—updating these values can become cumbersome, especially when the lookup fails for subsequent lines. Fortunately, there are elegant solutions that can streamline this process, ensuring accurate updates based on the “default_code.” Let’s explore practical methods to enhance your VLOOKUP approach and simplify your data management tasks effectively.

Vlookup on empy field

I have this sheet where every article (with “default code”=article number) has 2 prices:

a “Zelfstandige “ & a “Partikulier” price (field pricelist_rule_ids/pricelist_id)

So article “B ASO 000000” has 2 prices: “999.999,00” & “1.000.000,00”

These prices have to be updated (via lookup)

Vlookup based on ”default_code” is possible for the first line, but nut so for the second line.

Is there an elegant way to solve this?

https://preview.redd.it/fp29ooiqa4xg1.jpg?width=756&format=pjpg&auto=webp&s=61dd6f2c5605623b056ab0857f44e01eee1c0dd1

submitted by /u/Alvaket
[link] [comments]

Read on the original site

Open the publisher's page for the full experience

View original article