+ Reply to Thread
Results 1 to 6 of 6

Help creating a formula

Hybrid View

  1. #1
    Registered User
    Join Date
    02-04-2015
    Location
    Portugal
    MS-Off Ver
    2010
    Posts
    6

    Question Help creating a formula

    Hello guys,

    I'm new here. Sorry for jump in straight away with my question

    So here is my problem:

    -I have two separated xlsx documents
    In document 1 i have this:

    Document 1.xlsx

    And in document 2 i have this:

    Document 2.xlsx

    What I want is to create a ("global") formula that automatically fills document 2 table with the sum of the units of specific clients and codes. For example:

    In document 2, it should appear in cell B3 the number 200 since for client A and with code 1 we have two values (E3 and E8, 20+100).
    And so on: If B with code 1, sum the unit values in cell B4 (etc).

    I hope i want too much confunsing, thanks for the help.

    ANCF
    Last edited by ANCF; 02-05-2015 at 07:21 AM.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,120

    Re: Help creating a formula

    Please post a sample workbook, rather than a picture of one.

    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    02-04-2015
    Location
    Portugal
    MS-Off Ver
    2010
    Posts
    6

    Re: Help creating a formula

    Was this what you meant?

    Regards, ANCF

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,120

    Re: Help creating a formula

    Well, the pictures were helpful, but there's not a lot you can do with them. You can't even copy and paste the values to create the workbooks yourself.

    Hence the reason for asking for the workbooks ... thank you

    Formula: copy to clipboard
    =SUMIFS('[Document 1.xlsx]Sheet1'!$E$3:$E$19,'[Document 1.xlsx]Sheet1'!$A$3:$A$19,$A4,'[Document 1.xlsx]Sheet1'!$B$3:$B$19,B$3)


    Copy across and down.

    Document 1.xlsx will need to be open otherwise you will get a #VALUE! error.

    Regards, TMS

  5. #5
    Registered User
    Join Date
    02-04-2015
    Location
    Portugal
    MS-Off Ver
    2010
    Posts
    6

    Re: Help creating a formula

    Thank you very much, it was very useful.

    Regards, ANCF

  6. #6
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,120

    Re: Help creating a formula

    You're welcome.



    If you are satisfied with the solution(s) provided, please mark your thread as Solved.


    New quick method:
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

    Or you can use this way:

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save


    You may also want to consider thanking those people who helped you by clicking on the little star at the bottom left of their reply to your question.

+ 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] Use an existing cell formula for creating a new more complex formula
    By dubcap01 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-23-2014, 07:41 AM
  2. Replies: 1
    Last Post: 11-21-2012, 02:03 AM
  3. [SOLVED] Help with creating a formula
    By jaysphotos in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-02-2005, 06:25 AM
  4. [SOLVED] Creating a Formula
    By Cin in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-11-2005, 03:10 PM
  5. need help with creating or using a formula
    By apehyes in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-29-2005, 02:24 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