Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 217
Default replace last digit in a dollar amount

I am trying to create a Price Book with SRP's. I need to have all prices end
with a 9. How do I replace the last digit?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default replace last digit in a dollar amount

Assuming your prices are all integer (cents or pence), try this:

=ROUNDUP(A1,-1)-1

assuming your prices start in A1. Copy down as necessary.

Hope this helps.

Pete


Louise wrote:

I am trying to create a Price Book with SRP's. I need to have all prices end
with a 9. How do I replace the last digit?


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,939
Default replace last digit in a dollar amount

I would be inclined to round it to the 10 cent mark and then just subtract a
penny. So something like this perhaps

=ROUNDUP(A1, 1)-0.01
or
=ROUND(A1, 1)-0.01
--
HTH...

Jim Thomlinson


"Louise" wrote:

I am trying to create a Price Book with SRP's. I need to have all prices end
with a 9. How do I replace the last digit?

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
how can i round a dollar amount to the nearest thousand? Karen Excel Worksheet Functions 1 January 22nd 07 08:06 PM
How do I enter a negative dollar amount? CML Excel Discussion (Misc queries) 7 February 6th 05 11:19 PM
need help with Index, Match and Countif in the same complicated formula HGood Excel Discussion (Misc queries) 0 February 3rd 05 05:34 PM
finding highest dollar amount Jim Gentile Excel Worksheet Functions 2 December 7th 04 05:53 PM
Conditional Format With SUMIF Minitman Excel Worksheet Functions 3 November 1st 04 02:58 PM


All times are GMT +1. The time now is 05:18 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"