Excel formula question: if a cell is less or equal than...

IvanMD

New Member
Joined
Mar 27, 2011
Messages
7
Hello,

I'm creating a music chart in excel (similar to the Billboard Hot 100 chart) and I need a formula to detect a peak position. This is what I have in mind:

If A1 is less or equal than C1, replace value of C1 with A1.

I've tried a few formulas but I get a redundancy error every time, I realize I'm not an expert so help is much appreciated.

Thanks,
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
not sure I understand why you want to replace the value, just seem to me you want to identify the max position reached in the chart
 
Upvote 0
In Tools > Options > Calculation you would need to set Iterations to 1 otherwise you will get a Circular Reference warning. You might be better off using VBA. What are you actually trying to do?
 
Upvote 0
Thanks for responding so quickly,

Yes, I want identify the higher position, for example a song was in position 5 last week, in this week chart the song moves to position 3, I'd like to replace this value (A3) on the peak position column (C3). I hope that makes sense.

if A3 < C3, replace C3 with A3.

If a formula does not work, a macro suggestion would be nice.

Thanks again,
 
Upvote 0
Across rows

=MIN(C1:G1)

Down columns

=MIN(A2:A6)

The lower the number the higher the position
 
Upvote 0

Forum statistics

Threads
1,224,527
Messages
6,179,348
Members
452,907
Latest member
Roland Deschain

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