I am trying to find an elegant way to do the following:
My data currently looks like the following.
---------Column A----Column B----Column C----Column D
Row1-----Apple---------7----------Peach---------5
Row2-----Peach---------10---------Apple---------6
Row3-----Apple---------3----------Peach---------1
Column B shows the quantity of Apples or Peaches of the column preceding it.
For example: If I looked at Row 1 only, we have 7 apples and 5 peaches.
I need to format the data to so If I wanted to Show ONLY the number of apples as such:
--------Column A------Column B
Row1------Apple---------7
Row2------Apple---------3
Row3------Apple---------6
The standard VLOOKUP does not work here as it will find only the first instance of Apple in any column.
I am currently using a Function called VLOOKUPall (found here: http://www.sulprobil.com/html/lookup-variants.html#Vlookupall)
Although this does work, it does not allow any type of search across multiple columns.
There must be a better solution???
My data currently looks like the following.
---------Column A----Column B----Column C----Column D
Row1-----Apple---------7----------Peach---------5
Row2-----Peach---------10---------Apple---------6
Row3-----Apple---------3----------Peach---------1
Column B shows the quantity of Apples or Peaches of the column preceding it.
For example: If I looked at Row 1 only, we have 7 apples and 5 peaches.
I need to format the data to so If I wanted to Show ONLY the number of apples as such:
--------Column A------Column B
Row1------Apple---------7
Row2------Apple---------3
Row3------Apple---------6
The standard VLOOKUP does not work here as it will find only the first instance of Apple in any column.
I am currently using a Function called VLOOKUPall (found here: http://www.sulprobil.com/html/lookup-variants.html#Vlookupall)
Although this does work, it does not allow any type of search across multiple columns.
There must be a better solution???