+ Reply to Thread
Results 1 to 7 of 7

Copy numbers next to certain text

Hybrid View

  1. #1
    Registered User
    Join Date
    07-10-2013
    Location
    Egypt
    MS-Off Ver
    Excel 2010
    Posts
    58

    Copy numbers next to certain text

    New Microsoft Excel Worksheet.xlsx

    I want to copy the value in which is next to word Total in Petty Cash sheet to the cell next Petty cash cell in TB sheet.

    what is the prober formula for that??
    Last edited by amr7; 04-28-2015 at 10:11 AM.

  2. #2
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Copy numbers next to certain text

    Use this formula in C3 and copy down

    =IFERROR(VLOOKUP(A8,Sheet1!$B$2:$G$100,5,0),"")
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  3. #3
    Registered User
    Join Date
    07-10-2013
    Location
    Egypt
    MS-Off Ver
    Excel 2010
    Posts
    58

    Re: Copy numbers next to certain text

    it does not working, I want to make "Total" in E100 in Petty cash sheet as my reference and copy the amount beside it in the other sheet
    Last edited by amr7; 04-29-2015 at 03:34 AM.

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

    Re: Copy numbers next to certain text

    A little confused, as the word TOTAL does not appear on sheet "Petty Cash". But, try this

    IFERROR(INDEX('Petty Cash'!F$2:F$100,MATCH(TB!$A3,'Petty Cash'!$B$2:$B$100,0)),"") in C3 copied down (and across to give CR)
    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

  5. #5
    Registered User
    Join Date
    07-10-2013
    Location
    Egypt
    MS-Off Ver
    Excel 2010
    Posts
    58

    Re: Copy numbers next to certain text

    Total appear in cell E100
    tried this formula, but it give me the total for one transaction not the total

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

    Re: Copy numbers next to certain text

    I would never have thought of scrolling down 100 rows to find it!!!

    Why not delete row 100 and use =SUM('Petty Cash'!F:F)

    if you do want to keep it, why not use =SUM('Petty Cash'!F2:F99)

  7. #7
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,941

    Re: Copy numbers next to certain text

    C8=INDEX(INDIRECT("'Petty Cash'!F:F"),MATCH(99^9,INDIRECT("'Petty Cash'!F:F")))
    D8=INDEX(INDIRECT("'Petty Cash'!G:G"),MATCH(99^9,INDIRECT("'Petty Cash'!F:F")))
    E8=INDEX(INDIRECT("'Petty Cash'!H:H"),MATCH(99^9,INDIRECT("'Petty Cash'!F:F")))
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

+ 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] Copy only numbers within a cell with text and numbers
    By MATU70 in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 03-25-2014, 09:27 AM
  2. Formula to copy only numbers from a text/number column
    By rockvibe in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 11-08-2013, 04:23 PM
  3. Not able to copy the text from word to excel as numbers
    By drillerds in forum Excel General
    Replies: 1
    Last Post: 07-17-2013, 09:59 AM
  4. Replies: 4
    Last Post: 05-20-2013, 11:37 AM
  5. copy numbers from numbers+text cell
    By Henk in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-11-2006, 09:48 AM

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