+ Reply to Thread
Results 1 to 2 of 2

comparison between 2 sheets and bring column level validation?

  1. #1
    Registered User
    Join Date
    08-22-2017
    Location
    INDIA
    MS-Off Ver
    2010
    Posts
    6

    comparison between 2 sheets and bring column level validation?

    Hi Excel gurus,

    Can you please help me to bring the attached excel sheet condition. I need to compare sheet 1, product_id and product_name with 2nd sheet and do calculation for below columns

    tran_leesthan_0 =COUNTIF(Sheet2!D2:D8,"<0")
    Sales_less than_0 =SUMIF(Sheet2!D2:D8,"<0")
    qty_lessthan_0 =SUMIF(Sheet2!E2:E8,"<0")


    Please help me to bring the comparison between 2 sheets and do calculation.

    Thanks in advance!!
    excel question.xlsx

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: comparison between 2 sheets and bring column level validation?

    in Sheet3!F2
    =COUNTIFS(Sheet2!B$2:B$23,B2,Sheet2!D$2:D$23,"<0")

    in Sheet3!D2
    =SUMIFS(Sheet2!D$2:D$23,Sheet2!B$2:B$23,B2,Sheet2!D$2:D$23,"<0")

    in Sheet3!E2
    =SUMIFS(Sheet2!E$2:E$23,Sheet2!B$2:B$23,B2,Sheet2!E$2:E$23,"<0")

    copy down the columns
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

+ 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. 2 level Data Validation
    By aasswwiinn in forum Excel General
    Replies: 2
    Last Post: 11-01-2014, 04:32 PM
  2. [SOLVED] 3 Level Dependent Data Validation
    By ChristianZags in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-17-2014, 01:17 AM
  3. Comparison of two sheets. Result needs to return value of a 3rd column.
    By GeorgeErnst in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-13-2012, 12:54 PM
  4. [SOLVED] Multi-level data validation (perhaps using VLOOKUP?)
    By malkusm in forum Excel General
    Replies: 6
    Last Post: 08-06-2012, 10:34 PM
  5. Multi-level Data Validation with Lists
    By saschagraef in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 12-16-2010, 08:49 AM
  6. [SOLVED] how can I retain validation of cells when bring data from copied?
    By grigoras victor in forum Excel General
    Replies: 0
    Last Post: 06-12-2006, 07:25 AM
  7. Replies: 1
    Last Post: 09-29-2005, 11:05 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