johnburgin
New Member
- Joined
- Feb 8, 2013
- Messages
- 33
Hi,
I have become quite proficient using sumproduct recently, but now I have a new challenge.
I have a spreadsheet with the following column headers:
CLIENT GROUP; CHARGE; INCREASE COST; ORIGINAL CHARGE
What I need to do is find the maximum increase by CLIENT GROUP. I have done this using an array formula (in spite of my irrational fear of them) as follows:
{=MAX(IF(Data!D8:D914="Dementia",Data!Y8:Y914))}
And this works. What I need to be able to do is find values from columns either side of this specific answer. That is to say, the maximum value for this client may be the same for other client groups, so I need to find the ORIGINAL CHARGE and CHARGE relating to the answer of this search.
This I have no idea how to do. I have been reading up on using INDEX, but do not know how to build INDEX into my above formula. Remember, I have an irrational fear of array formulas, and get easily confused by syntax when a single formula has many, many functions
Please, can someone help me?
Many Thanks,
John
I have become quite proficient using sumproduct recently, but now I have a new challenge.
I have a spreadsheet with the following column headers:
CLIENT GROUP; CHARGE; INCREASE COST; ORIGINAL CHARGE
What I need to do is find the maximum increase by CLIENT GROUP. I have done this using an array formula (in spite of my irrational fear of them) as follows:
{=MAX(IF(Data!D8:D914="Dementia",Data!Y8:Y914))}
And this works. What I need to be able to do is find values from columns either side of this specific answer. That is to say, the maximum value for this client may be the same for other client groups, so I need to find the ORIGINAL CHARGE and CHARGE relating to the answer of this search.
This I have no idea how to do. I have been reading up on using INDEX, but do not know how to build INDEX into my above formula. Remember, I have an irrational fear of array formulas, and get easily confused by syntax when a single formula has many, many functions
Please, can someone help me?
Many Thanks,
John