+ Reply to Thread
Results 1 to 5 of 5

adjust existing splitting formula from number and text

  1. #1
    Forum Contributor
    Join Date
    02-11-2014
    Location
    mauritius
    MS-Off Ver
    MS365
    Posts
    1,086

    adjust existing splitting formula from number and text

    I have column A with quantity 20 .EA,20PKS the data is split in column B and C as column B and column C EA OR pks .

    I have a new qty as 1020 UVC OR 5 UVC OR 100 UVC

    Can someone help how to adjust formula to accept the split the nunber and uvc for both column B and C


    COLUMN B FORMULA
    Please Login or Register  to view this content.
    COLUMN C FORMULA

    Please Login or Register  to view this content.
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    10-30-2003
    Location
    Singapore
    MS-Off Ver
    Excel 2019
    Posts
    197

    Re: adjust existing splitting formula from number and text

    1] B2, copied down :

    =-LOOKUP(1,-LEFT(A2,ROW($1:$99)))

    2] C2, copied down :

    =TRIM(SUBSTITUTE(SUBSTITUTE(A2,".00",""),B2,""))

    Regards
    Bosco

  3. #3
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,984

    Re: adjust existing splitting formula from number and text

    or... by adapting your current formula in C

    =TRIM(MID(A2,-LOOKUP(1,-MIN(SEARCH({"EA","PKS","UVC"},A2&"EAPKSUVC"))),3))
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  4. #4
    Forum Contributor
    Join Date
    02-11-2014
    Location
    mauritius
    MS-Off Ver
    MS365
    Posts
    1,086

    Re: adjust existing splitting formula from number and text

    Hi Glenn

    Tried with actual formula I have Indeed , column B gave me #value and column C shows results pks instead of uvc

  5. #5
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,984

    Re: adjust existing splitting formula from number and text

    Use my formula in column C... in combination with Bosco's formula for column B. Sorry, I wasn't clear!!

+ 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. [SOLVED] assistance to adjust splitting formula in certain column headers which blank cells
    By JEAN1972 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-19-2018, 05:03 AM
  2. [SOLVED] Formula to adjust row number when copying cell
    By Solvax in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-19-2018, 03:27 PM
  3. Replies: 3
    Last Post: 05-04-2013, 09:57 PM
  4. Problems splitting a text & number string using VBA
    By Tamor in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-22-2009, 11:03 AM
  5. Replies: 3
    Last Post: 05-14-2009, 10:31 AM
  6. adjust my existing macro
    By jpfulton in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-17-2008, 06:00 PM
  7. Need to adjust existing named range for dynamic charts
    By tbonejo in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-04-2006, 12:18 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