+ Reply to Thread
Results 1 to 9 of 9

Referencing other worksheets?

  1. #1
    Registered User
    Join Date
    02-28-2012
    Location
    Los Angeles, Ca
    MS-Off Ver
    Excel 2007
    Posts
    6

    Referencing other worksheets?

    So I am working on an Excel project. I am have a list of style numbers, total of around 1400. I am trying to find an equation that will go through another worksheet, 32,000 lines long, and find how many times the style number comes up. This is the first equation im trying to figure out.

    The second is referecing a column in the same row as teh style number and giving me a sum that will add up allof the the values in that column associated with teh style number.

    Thank you.

  2. #2
    Registered User
    Join Date
    02-28-2012
    Location
    Los Angeles, Ca
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: Referencing other worksheets?

    The style numbers are listed in a column on a seperate worksheet. On the worksheet im trying to reference its in columm d.

    And for the dollar values associated with the style numbers, are located in column E.

    I hope this helps make my question easier to answer.

  3. #3
    Forum Expert DGagnon's Avatar
    Join Date
    02-23-2012
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2003, 2007
    Posts
    1,645

    Re: Referencing other worksheets?

    for the count you can use =COUNTIF(B:B,C1) where B:B is the style number, and C1 is the specific style

    for the sum you can use =SUMIF(B:B,C1,D:D) where B:B is the style number, and C1 is the specific style and D:D is the dollar values
    If you liked my solution, please click on the Star -- to add to my reputation

    If your issue as been resolved, please clearly state so and mark the thread as [SOLVED] using the thread tools just above the first post.

  4. #4
    Registered User
    Join Date
    02-28-2012
    Location
    Los Angeles, Ca
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: Referencing other worksheets?

    Thank you so much. the first equation helped. But im confused on the second. So basically i need that equation to reference the same rows that the style numbers occur on, but a seperate column.

    My first equation was =COUNTIF(Sheet name!F;F,'Sheet2'B2)

  5. #5
    Registered User
    Join Date
    02-28-2012
    Location
    Los Angeles, Ca
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: Referencing other worksheets?

    the numerical value column i want to sum is column m on Sheet 1

  6. #6
    Forum Expert DGagnon's Avatar
    Join Date
    02-23-2012
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2003, 2007
    Posts
    1,645

    Re: Referencing other worksheets?

    Assuming yoru style is on Col F, what Column are the numbers you want to sum on?

    assuming it is col G it would be

    =SUMIF('Sheet name'!F:F,'Sheet2'B2,'Sheet name'!G:G)

  7. #7
    Forum Expert DGagnon's Avatar
    Join Date
    02-23-2012
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2003, 2007
    Posts
    1,645

    Re: Referencing other worksheets?

    sorry your last post kind of confused me, could you attach a sample workbook?

  8. #8
    Registered User
    Join Date
    02-28-2012
    Location
    Los Angeles, Ca
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: Referencing other worksheets?

    I would, but its on my work computer and im on my lap top right now.

    It goes:

    Sheet 1
    Column F= Style Number and Column N=Value of that specific row

    Sheet 2 has
    Columb B= Style Number, ColumnD=the COUNTIF equation and I want columnE=the sum of all values located in column N on the rows that the style numbers appear in Sheet 1 Column F that equal the value of Column B row 1 for example.

  9. #9
    Registered User
    Join Date
    02-28-2012
    Location
    Los Angeles, Ca
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: Referencing other worksheets?

    But thank you so much for your help. It helped me make significant progress on this SS. Both the equations worked as well.

    Cheers and a Star to 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