Find last value in row that is not a percentage value

IanPM

Board Regular
Joined
Dec 12, 2013
Messages
53
[TABLE="class: grid, width: 600, align: center"]
<tbody>[TR]
[TD][/TD]
[TD]A
[/TD]
[TD]B
[/TD]
[TD]C
[/TD]
[TD]D
[/TD]
[TD]E
[/TD]
[TD]F
[/TD]
[TD]G
[/TD]
[TD]H
[/TD]
[TD]I
[/TD]
[TD]J
[/TD]
[TD]K
[/TD]
[TD]L
[/TD]
[TD]M
[/TD]
[TD]N
[/TD]
[/TR]
[TR]
[TD]1
[/TD]
[TD]Price 2017
[/TD]
[TD]Price 2018
[/TD]
[TD]Price 2019/01
[/TD]
[TD]Price change
[/TD]
[TD]Price 2019/02
[/TD]
[TD]Price change
[/TD]
[TD]Price 2019/03
[/TD]
[TD]Price change
[/TD]
[TD]Price 2019/04
[/TD]
[TD]Price change
[/TD]
[TD]Price 2019/05
[/TD]
[TD]Price change
[/TD]
[TD]Price 2019/06
[/TD]
[TD]Price change
[/TD]
[/TR]
[TR]
[TD]2
[/TD]
[TD]20
[/TD]
[TD]22
[/TD]
[TD]23
[/TD]
[TD]4.5%
[/TD]
[TD]25
[/TD]
[TD]8.7%
[/TD]
[TD]25
[/TD]
[TD]0.0%
[/TD]
[TD]25
[/TD]
[TD]0.0%
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3
[/TD]
[TD]20
[/TD]
[TD]22
[/TD]
[TD][/TD]
[TD]0.0%
[/TD]
[TD][/TD]
[TD]0.0%
[/TD]
[TD][/TD]
[TD]0.0%
[/TD]
[TD]25
[/TD]
[TD]13.6%
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]5
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]


I need the price changes to calculate of the last price value. Data example
In Row 2 the price changed 4.5% from 2019/01 to 2018 & 8.7% in 2019/02 from 2019/01
In row 3 the first price change in column I - 2019/04 at 13.6%.

Question what formula can I use the find the last value which is 22 in 2018 (column B ) & exclude all the percentages?

Thank you

IanPM
 
OK, got it at last (I hope.:biggrin:)

Excel Workbook
BCDEFGHIJKLM
1PricePricePricePrice changePricePrice changePricePrice changePricePrice changePrice 2019/05Price change
2201720182019/012019/022019/032019/04
3
41213138.3%1730.8%13-23.5%1730.8%
5121312-7.7%11-8.3%
6121416.7%1721.4%
7121525.0%1-93.3%
80.50.4-20.0%0.650.0%
9
1010201550.0%2566.7%10-60.0%40300.0%30-25.0%
Price Change (4)
 
Upvote 0

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
Hi Peter

For E4 the formula seems just be extended to include C4. But it sees to work well for al cells.

Thank you very much!
 
Last edited:
Upvote 0
Hi Peter

For E4 the formula seems just be extended to include C4.
Yes, that was a mistake, sorry. Corrected version, still copied to all the other relevant columns:

Excel Workbook
BCDEFGHIJKLM
1PricePricePricePrice changePricePrice changePricePrice changePricePrice changePrice 2019/05Price change
2201720182019/012019/022019/032019/04
3
41213130.0%1730.8%13-23.5%1730.8%
5121312-7.7%11-8.3%
6121416.7%1721.4%
7121525.0%1-93.3%
80.50.4-20.0%0.650.0%
9
10102015-25.0%2566.7%10-60.0%40300.0%30-25.0%
Price Change (4)
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,182
Members
453,021
Latest member
Mohamed Magdi Tawfiq Emam

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