Hello, world! (ORIGINAL POST HERE)
I am trying to generate a formula, could be VBA or not, that would return multiple values. Basically, there are 4 tabs in the entire "tool" but the user only sees the first tab.
Tool (tab 1)
Zip (user entered data)
This row is merged, and has a purpose
KMA Populated via Vlookup
GLID Populated via Vlookup
Entity Populated via Vlookup
The problem is, sometimes there are multiple zip codes present - in this case the last 4 of the zip code is not always known so it is not used in this tool. I need a formula or VBA code that will return the values of A,B, C, D onto the tool tab, just below the actual tool itself, see below.
Data Sheet (tab 2)
* A B C D E
1 ZIP CODE KMA GLID Entity Count of Times ZIP appears
2 1515 * * * 1
3 1516 * * * 1
4 1517 * * * 3
5 1517 * * * 3
6 1517 * * * 3
7 1518 * * * 1
8 1519 * * * 1
9 1520 * * * 2
10 1520 * * * 2
Tool (tab 1)
Zip (user entered data)
*see below*
KMA Populated via Vlookup
GLID Populated via Vlookup
Entity Populated via Vlookup
*If the "count of zip" column (column E on data tab) returns a value of ">= 2", this row turns red with a simple text warning.
There is also a hidden table below this main tool that can be used to display the results of the 'values of A,B, C, D' on the data sheet, tab 2.
Here is my progress on this issue. I have this code on the tab 1 (tool), which is only pulling the first row, where I need it to pull from the same column, just the next one below. Any ideas?
{=INDEX(FINAL!$D$2:$D$3256, SMALL(IF($C$2=FINAL!$A$2:$A$3256, ROW(FINAL!$A$2:$A$3256)-MIN(ROW(FINAL!$A$2:$A$3256))+1, ""), COLUMN(FINAL!$A$2:$A$3256)))}
Let me be more specific. In this case, there are 9 instances of the zip code, '20153'. The only difference is they each have a different 'GLID'. I need to see each GLID this specific zip code references. See below, this should help.
GLID KMA ENTITY
GLID 1 * *
GLID 2 * *
GLID 3 * *
GLID 4 * *
GLID 5 * *
GLID 6 * *
GLID 7 * *
GLID 8 * *
GLID 9 * *
The * 's represent other data, that in this case did not change, but i need the same code for the GLID column to work on the other two columns too.
Bookmarks