Quantcast
Channel: Hot Weekly Questions - Web Applications Stack Exchange
Viewing all articles
Browse latest Browse all 9782

Sheets - solution for a long nested if statement

$
0
0

https://docs.google.com/spreadsheets/d/13ZXDE2efDOSa2mI4GlzZDvFqB-eCfxtoFNJE73IniaU/edit

I have done a lot of searching and reading and can’t seem to find a good solution to these long winded if statements.

In the range A2:A7 the data changes dynamically. Some of the names are not what they are suppose to be. They are always the same but always wrong.

Under the Names 1 list is the full list of names that will could dynamically come in to the items list. Next to them under Names 2 is what they should be.

In the cell B2 I’m using a nested if statement to compare each of the two Names Lists one by one and then copying that in each cell below.This is a long and complicated process with lots of items and then different categories too, the length of the lists change but never longer than 20 items.


Viewing all articles
Browse latest Browse all 9782

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>