+ Reply to Thread
Results 1 to 9 of 9

Formatting numbers and searching across worksheets

  1. #1
    Registered User
    Join Date
    09-27-2017
    Location
    London, England
    MS-Off Ver
    2013
    Posts
    16

    Formatting numbers and searching across worksheets

    Hello,

    I was wondering whether anyone might have some advice. My Excel skills are OK, but I've run into something that's beyond my knowledge.

    I am running a report at work (I work in a university library) that examines the relationship between print and electronic versions of the same titles, e.g. what does a student read if given the option of both?

    I have pulled out data sources from a number of places and unfortunately the spreadsheet in 22MB so I can't share it here - if someone has a creative idea for how to host it, that would be great.

    The first issue is the number formatting - Excel has automatically turned these 16/17/18 digit numbers into +14/15/16. If I format the cells to text, it does not revert back to the full number. Also Excel has imported the numbers and lost some of the information.

    e.g. on my second sheet (All Loans 2017-18) Column H in Line 2 is 9924317910302020 - this should be 99106404710302021. Basically the last two numbers of each number (and there are several thousand!) should be 21 instead of what they are. Is there an easy way to 1) format the numbers in one fell swoop and 2) to change the last two digits of each number to 21?

    All sheets have ISBN/ISN which should be unique identifiers.

    As the sheet is currently filtered, I need to search across every line in RL Items 17-18 and find the following values in the next four sheets:

    Sheet 2 - Column A (Loans)
    Sheet 3 - Column AE (No of Views)
    Sheet 4 - Column I (Reporting Total Period)
    Sheet 5 - Column I (Reporting Total Period)

    There are over 3000 lines in the RL Items 17-18 sheet as it is currently filtered so if there's a way I can do something without manually looking through every line, over four other sheets, that would be great!

    Thanks very much,
    Kevin

  2. #2
    Forum Expert avk's Avatar
    Join Date
    07-12-2007
    Location
    India
    MS-Off Ver
    Microsoft Office 2013
    Posts
    3,223

    Re: Formatting numbers and searching across worksheets

    Its better to attach sample file with desire result. Give 4-5 example.


    atul


    If my answer (or that of other members) has helped you, please say "Thanks" by clicking the Add Reputation button at the foot of one of their posts.

    Also: if your problem is solved, please take the time to mark your thread as SOLVED by going to the top of your first post, selecting "Thread Tools" and then "Mark thread as solved".

  3. #3
    Registered User
    Join Date
    09-27-2017
    Location
    London, England
    MS-Off Ver
    2013
    Posts
    16

    Re: Formatting numbers and searching across worksheets

    Thanks avk. I have uploaded a small sample of the first sheet - it's the column highlighted in yellow.

    The image shows what these numbers should be. This is taken from the software used to generate the report.

    So what I need to do is take the formatting off to reveal the full number (format cells + text doesn't quite do this - it still retains the +15 and I'd have to click into every cell in that column to get the full number) and then replace the last two digits of each with '21'. Is there a way of doing this?
    Attached Images Attached Images
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    09-27-2017
    Location
    London, England
    MS-Off Ver
    2013
    Posts
    16

    Re: Formatting numbers and searching across worksheets

    I've also added small samples of the other worksheets - the plan would be to merge these into one document.

    All should have ISBNs in common. Is there a quick way to find the data I need from each set of ISBNs? I would be working through each of the ISBNs in the RL list - there are around 3000 here.

    e.g. UG PG Loans 17-18 I would need the loans amount from Column A
    e.g. DCS I would need the number of views from Column AD
    e.g. Dawsonera I would need the reporting period total from Column F
    e.g. Ebook Central I would need the report period total from Column I

    Maybe what I'm doing isn't possible without manually searching through each worksheet one at a time?

    Many thanks,
    Kevin
    Attached Files Attached Files

  5. #5
    Forum Expert avk's Avatar
    Join Date
    07-12-2007
    Location
    India
    MS-Off Ver
    Microsoft Office 2013
    Posts
    3,223

    Re: Formatting numbers and searching across worksheets

    For post3# : In "I2"
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    copy paste down.

  6. #6
    Forum Expert avk's Avatar
    Join Date
    07-12-2007
    Location
    India
    MS-Off Ver
    Microsoft Office 2013
    Posts
    3,223

    Re: Formatting numbers and searching across worksheets

    For post 4# :
    May be =Index(Array,Match(Lookup_Value,Lookup_Array,Match_Type))

    Array = Required data range
    Lookup_Value = Your criteria (ISBN)
    Lookup_Array = Match with ISBN from another workbook
    Match_Type = 0 [zero] for exact match

  7. #7
    Registered User
    Join Date
    09-27-2017
    Location
    London, England
    MS-Off Ver
    2013
    Posts
    16

    Re: Formatting numbers and searching across worksheets

    Thanks!

    I think I need to try a VLOOKUP function but I don't think I've quite got the hang of it. Here is a sample of the massive spreadsheet. It's the MMSID that both sheets have in common. What I want to do is use VLOOKUP to find the loans/return figures (from Sheet 1) for the MMSIDs in Sheet 2.

    In the full list, Sheet 1 will have many more MMSID entries than in Sheet 2, so the aim with the MMSID entries in Sheet 2 is to get those loan/return figures quickly.

    Thanks!
    Attached Files Attached Files

  8. #8
    Forum Expert avk's Avatar
    Join Date
    07-12-2007
    Location
    India
    MS-Off Ver
    Microsoft Office 2013
    Posts
    3,223

    Re: Formatting numbers and searching across worksheets

    In "RL" sheet F2
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    "G2"
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  9. #9
    Registered User
    Join Date
    09-27-2017
    Location
    London, England
    MS-Off Ver
    2013
    Posts
    16

    Re: Formatting numbers and searching across worksheets

    Perfect! That's worked - thanks very much. I was trying the VLOOKUP and messed my formula up that it kept returning the MMSID/LCN from the first sheet instead of the loans/returns. But this makes perfect sense! So when I try this again I should know how to do it!

    Thanks!

+ 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. Searching worksheets
    By sdyer03 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 08-21-2018, 05:21 PM
  2. searching through two worksheets
    By greatnewtaste in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-22-2011, 07:44 PM
  3. Excel 2007 : Searching through worksheets
    By Skyfox in forum Excel General
    Replies: 2
    Last Post: 06-14-2010, 05:47 AM
  4. Searching Worksheets By Name
    By suburbanght in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-25-2007, 05:07 PM
  5. Searching Across Worksheets: Please help!
    By computerfineman in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 08-19-2006, 12:03 AM
  6. searching multiple worksheets
    By sonic-the-mouse in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-03-2006, 05:45 PM
  7. [SOLVED] Searching across muliple worksheets
    By Jerry Selinger in forum Excel General
    Replies: 7
    Last Post: 03-25-2006, 12:45 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