+ Reply to Thread
Results 1 to 3 of 3

Retain Format when refering to another Cell

  1. #1
    Registered User
    Join Date
    10-05-2004
    Location
    Scarborough, ON
    MS-Off Ver
    Mac Office 2019 v16.30 (19101301)
    Posts
    69

    Retain Format when refering to another Cell

    Hi,

    here is something unique, now I know what i need to do in VBA to get this to work but i was hoping there was an easier way

    Please Login or Register  to view this content.
    in G2 = 3000
    in H2 = 0.3333333

    the CODE will prompt a display of |3000 (0.33333)|

    i would like the display to be |3000 (33%)|

    is this possible?

  2. #2
    Forum Expert sweep's Avatar
    Join Date
    04-03-2007
    Location
    Great Sankey, Warrington, UK
    MS-Off Ver
    2003 / 2007 / 2010 / 2016 / 365
    Posts
    3,444

    Re: Retain Format when refering to another Cell

    Hi,

    Does this help?

    =Control!G2&" ("&ROUND(Control!H2*100,0)&"%)"
    Rule 1: Never merge cells
    Rule 2: See rule 1

    "Tomorrow I'm going to be famous. All I need is a tennis racket and a hat".

  3. #3
    Registered User
    Join Date
    10-05-2004
    Location
    Scarborough, ON
    MS-Off Ver
    Mac Office 2019 v16.30 (19101301)
    Posts
    69

    Re: Retain Format when refering to another Cell

    Sweep,

    this is bloody marvelous

    works perfectly, thank you

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1