+ Reply to Thread
Results 1 to 3 of 3

Doing some formatting at work and need a better way!

Hybrid View

  1. #1
    Registered User
    Join Date
    03-04-2014
    Location
    CLE, Ohio
    MS-Off Ver
    Excel 2010
    Posts
    2

    Doing some formatting at work and need a better way!

    I have a quick Excel question for you guys, I'm doing some formatting for work, and I'm trying to come up with a quicker way to reformat the information into the format that we want. I've attached a sample section of what I'm working with to thisFunction Question.xlsxl. I'm trying to take the top section of text and make it look like the bottom section. I've tried playing around in Excel for a formula that would work, but I'm coming up dry. Any help would be appreciated, thank you!

  2. #2
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Doing some formatting at work and need a better way!

    Try:
    A
    B
    C
    D
    E
    21
    Item
    Vendor
    Quantity
    Unit
    Price
    22
    =$A$2&" "&$A$3&" "&LEFT($A4,FIND(".",$A4)-1)
    =VALUE(SUBSTITUTE(TRIM(SUBSTITUTE(RIGHT($A4,LEN($A4)-FIND(".",$A4)),"."," "))," ","."))
    23
    =$A$2&" "&$A$3&" "&LEFT($A5,FIND(".",$A5)-1)
    =VALUE(SUBSTITUTE(TRIM(SUBSTITUTE(RIGHT($A5,LEN($A5)-FIND(".",$A5)),"."," "))," ","."))
    24
    =$A$2&" "&$A$3&" "&LEFT($A6,FIND(".",$A6)-1)
    =VALUE(SUBSTITUTE(TRIM(SUBSTITUTE(RIGHT($A6,LEN($A6)-FIND(".",$A6)),"."," "))," ","."))
    25
    =$A$2&" "&$A$3&" "&LEFT($A7,FIND(".",$A7)-1)
    =VALUE(SUBSTITUTE(TRIM(SUBSTITUTE(RIGHT($A7,LEN($A7)-FIND(".",$A7)),"."," "))," ","."))
    let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source

    If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE

    Walking the tightrope between genius and eejit...

  3. #3
    Registered User
    Join Date
    03-04-2014
    Location
    CLE, Ohio
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Doing some formatting at work and need a better way!

    Yes, that worked, thanks so much! Will going through 3500 lines so much easier!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 1
    Last Post: 07-19-2012, 05:37 AM
  2. Conditional formatting does not work Please help
    By AB33 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-13-2012, 12:29 PM
  3. Formatting as Number will not work
    By g48dd in forum Excel General
    Replies: 3
    Last Post: 03-14-2011, 02:15 PM
  4. Conditional Formatting with Not work
    By fmluder93 in forum Excel General
    Replies: 4
    Last Post: 05-28-2009, 10:36 PM
  5. [SOLVED] Work around Conditional Formatting
    By Andy Chan in forum Excel General
    Replies: 3
    Last Post: 01-02-2006, 01:25 PM

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