Possible? Finding max value of prices a set distance from a cell starting from right to left (columns are price,qty,rating,rating,repeat)

Waboku

New Member
Joined
Jul 8, 2016
Messages
45
Hello, Happy Holidays.

I would like to better analyze data for my work. I don't know how to do this but I would like to know if it is possible and if anyone doesn't mind I would appreciate help with a function that can do this. My data set is 300 columns, and 18000 rows. For this example below the data is 3 by 12.

Buy Price 1
Buy Qty 1
Rating 1
Rating 2
Buy Price 2
Buy Qty 2
Rating 1
Rating 2
Buy Price 2
Buy Qty 2
Rating 1
Rating 2
12
12
9
9
1
5
5
12
12
9
9
1
5
5

<tbody>
</tbody>

What I would like to be able to do is use a function find the first rating from right to left, then if the rating is in the rating 1 column find the max value of the price 2 prices to the left of the rating and of all the prices to the right of that price. If the rating is in a rating 2 column I would like to find the max value of the price to the left of the rating and of all the prices to the right of that price. If you have the time please consider helping me with my problem. Thanks.
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
Hello Aladin Akyurek, thanks for considering helping me with my problem. I try not to post questions I can do my self. When I didn't hear back from anyone for some time after posting this I redid the format of my data so I think I no longer need help with this. Thanks again.
 
Upvote 0

Forum statistics

Threads
1,216,075
Messages
6,128,665
Members
449,462
Latest member
Chislobog

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top