Rounding Prices ends with 4.99

ankrups

Board Regular
Joined
Mar 14, 2006
Messages
124
Office Version
  1. 2021
Platform
  1. Windows
Hi,

I have unique requirement. I am wholesaler of furniture and other household products. I need to sell my products which ends with 4.99. I usually get the data feed from different suppliers but I need to write a formula in excel that when pricing data loaded in column it converts that selling price ends with 4.99. For example, if one of my product price is 66.99 then it should converts to 64.99. Another example is if the price is 11.99 then it should converts to 14.99.

Can this be achieved in excel? Please advise.

Thanks in advance.
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
Hi,

You could try the following:
Excel Formula:
=NUMBERVALUE(SUBSTITUTE(B1,RIGHT(B1,4),4.99))

It assumes that the original price is in B1 and that each price ends with two decimals. It basically replaces the last 4 characters of the price with 4.99 and converts the result to a number value.
 
Upvote 0
Hey, this should get the job done

1602146572309.png
 
Upvote 0
Thank you Galbert and Denzo both formula worked. I really appreciate your response on this.

Thank you .

Ankit
 
Upvote 0

Forum statistics

Threads
1,214,905
Messages
6,122,174
Members
449,071
Latest member
cdnMech

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