Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 07-04-2018, 02:06 PM
gch777 gch777 is offline I am trying to remove the $- from the cells with no data on a large spread sheet Windows 10 I am trying to remove the $- from the cells with no data on a large spread sheet Office 2016
Novice
I am trying to remove the $- from the cells with no data on a large spread sheet
 
Join Date: Jul 2018
Posts: 1
gch777 is on a distinguished road
Default I am trying to remove the $- from the cells with no data on a large spread sheet

$99.88 $- $- $- $- $- $- $- $- $- $0.53 $- $- $13.90 $- $6.00 $6.96 $- $0.12 $- $0.03 $- $127.42




The sheet needs to be just blank in the cells where the $- currently are
any help would be great
Reply With Quote
  #2  
Old 07-04-2018, 09:49 PM
ArviLaanemets ArviLaanemets is offline I am trying to remove the $- from the cells with no data on a large spread sheet Windows 8 I am trying to remove the $- from the cells with no data on a large spread sheet Office 2016
Expert
 
Join Date: May 2017
Posts: 873
ArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud of
Default

The easiest way - use numeric format instead of money format!

In case all money info is in dollars, there is no need to display it - proper column header will indicate, that the numbers in column are for money;

In case you have different currencies in table, the formatting doesn't work anyway. You must have the cyrrency in column header (SUM_USD, SUM_EUR, ...) or in separate column.
Reply With Quote
  #3  
Old 07-05-2018, 09:15 AM
Logit Logit is offline I am trying to remove the $- from the cells with no data on a large spread sheet Windows 10 I am trying to remove the $- from the cells with no data on a large spread sheet Office 2007
Expert
 
Join Date: Jan 2017
Posts: 533
Logit is a jewel in the roughLogit is a jewel in the roughLogit is a jewel in the rough
Default

Code:
Sub Test()
    Dim rng As Range
    Dim cel As Range
        
    Set rng = Range("A1:Z100")  '<-- change range as required.
    Application.ScreenUpdating = False
        For Each cel In rng
            If cel.Value = "$-" Then cel.ClearContents
        Next cel
    Application.ScreenUpdating = True
End Sub
Reply With Quote
  #4  
Old 07-05-2018, 09:42 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline I am trying to remove the $- from the cells with no data on a large spread sheet Windows 7 64bit I am trying to remove the $- from the cells with no data on a large spread sheet Office 2010 64bit
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,779
Pecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant future
Default

Or
Ctrl+H
Replace what ~$- (that is tilde followed by dollar sign followed by dash)
Replace with ( leve blank)

p { margin-bottom: 0.25cm; line-height: 120%; }
__________________
Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
I am trying to remove the $- from the cells with no data on a large spread sheet Data from a specific row in a spread sheet into a form JohnnySTI Excel Programming 13 01-24-2018 01:20 PM
I am trying to remove the $- from the cells with no data on a large spread sheet Simple Spread Sheet TThomas Excel 1 04-07-2016 09:01 PM
I am trying to remove the $- from the cells with no data on a large spread sheet Using combobox to pass data from an Excel spread sheet to text boxes on userform Stewie840 Word VBA 14 12-17-2015 10:13 PM
Copy data from certain Cells in new sheet zain_shaikh Excel Programming 1 02-11-2015 07:35 PM
Condensing a spread sheet hawkeyefxr Excel 4 08-22-2012 05:17 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 08:59 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft