Calculation using the last value in a cell

bj6264

Board Regular
Joined
May 23, 2010
Messages
50
Hello, can someone help please. I have a list of prices but some cells contain multiple values where the value has changed. I need a formula that will use the last value in a cell. Example below. As you can see the result column has now value as its using $3.41$3.117 in the calculation (I need it to use $3.117)

PriceUpliftCalculationResult
<S>$3.41</S>

$3.117
0.8=A2*B2#VALUE!
<S>$5.80
</S>

<S>$5.63</S>

$4.634
1.3=A3*B3#VALUE!
$1.7112.3=A4*B43.9353

<COLGROUP><COL style="WIDTH: 61pt; mso-width-source: userset; mso-width-alt: 2962" span=4 width=81><TBODY>
</TBODY>

</SPAN>
<STRIKE></STRIKE></SPAN>
</SPAN>

</SPAN></SPAN></SPAN>
</SPAN></SPAN></SPAN></SPAN>

<TBODY>
</TBODY><COLGROUP><COL span=4></COLGROUP>
</SPAN></SPAN>
</SPAN>
</SPAN>
</SPAN>
</SPAN>
</SPAN>
</SPAN></SPAN></SPAN></SPAN>

<TBODY>
</TBODY><COLGROUP><COL span=4></COLGROUP>
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
Hello, can someone help please. I have a list of prices but some cells contain multiple values where the value has changed. I need a formula that will use the last value in a cell. Example below. As you can see the result column has now value as its using $3.41$3.117 in the calculation (I need it to use $3.117)

Price
Uplift
Calculation
Result
<S>$3.41</S>

$3.117
0.8
=A2*B2
#VALUE!
<S>$5.80
</S>

<S>$5.63</S>

$4.634
1.3
=A3*B3
#VALUE!
$1.711
2.3
=A4*B4
3.9353

<TBODY>
</TBODY>
I think this formula in C2 (copied down) should do what you want...

=TRIM(LEFT(RIGHT(SUBSTITUTE(CHAR(10)&A2,CHAR(10),REPT(" ",99)),99),99))*B2
 
Upvote 0

Forum statistics

Threads
1,214,919
Messages
6,122,260
Members
449,075
Latest member
staticfluids

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