I am parsing data to obtain a Low mid and high value for each item (31 through 556).
I have parsed the data to isolate low values to Coloumn F, mid values to coloumn G and high values to coloumng H based on Type (1=low,2=mid,3=high) for each item entry (see below). I now need to obtain one value for each item (see further below for an example).
This is what my spreadsheet looks like
NOTE: Coloumns F G and H values are constant for each item range
(eg for item 31 all low entries are the same at 65 but it can change from item to item.)
This is what I want to obtain (I just threw this together quickly the values in Low mid and high are not corresponding to the data above)
I thought about doing a Vlookup for item number and returning the first F G and H values for each item number but is there a way to tell it to only return a number, not blank?
Would a macro work better?
Running Excel 2003
Many Thanks!
I have parsed the data to isolate low values to Coloumn F, mid values to coloumn G and high values to coloumng H based on Type (1=low,2=mid,3=high) for each item entry (see below). I now need to obtain one value for each item (see further below for an example).
This is what my spreadsheet looks like
Code:
A B C D E F G H
Item Type Range Low Mid High
31 1 65 65
31 2 90 90
31 3 100 100
31 1 65 65
32 1 65 65
32 2 90 90
32 1 65 65
32 2 90 90
32 3 300 300
32 3 300 300
32 1 65 65
33 2 180 180
33 1 55 55
33 1 55 55
33 2 180 180
33 1 55 55
33 2 180 180
NOTE: Coloumns F G and H values are constant for each item range
(eg for item 31 all low entries are the same at 65 but it can change from item to item.)
This is what I want to obtain (I just threw this together quickly the values in Low mid and high are not corresponding to the data above)
Code:
Item Low Mid High
31 65 75 78
32 55 60 180
33 48 55 60
34 12 24 45
35 168 200 300
I thought about doing a Vlookup for item number and returning the first F G and H values for each item number but is there a way to tell it to only return a number, not blank?
Would a macro work better?
Running Excel 2003
Many Thanks!