+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 15 of 28

Calculates whether the value is true

  1. #1
    Registered User
    Join Date
    02-27-2015
    Location
    israel
    MS-Off Ver
    2010
    Posts
    18

    Red face Calculates whether the value is true

    Hello,
    I need your help
    How do I make check boxes in each row will have a different amount (calculating the amount in each line separately)

    pizza - 10$
    books - 15$
    ...
    ...

    Thank you


    nLYcT.png
    Attached Files Attached Files
    Last edited by maorphp; 01-12-2019 at 06:08 AM.

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Northern Ireland
    MS-Off Ver
    Excel 2013 & 2016
    Posts
    22,158

    Re: Calculates whether the value is true

    Hi there.

    1. Please amend your profile to show which version of Excel you are using. This can make a significant difference to the solutions offered.

    2. Please amend your profile to show roughly where in the world you are located. This can make a significant difference to the solutions offered.

    3. Will you please attach a SMALL sample Excel workbook (10-20 rows of data is usually enough)? However, please give us an indication of the approximate number of rows of data you want the solution to work with (100, 1000, 100,000 or whatever). Please don't attach a picture of an Excel sheet (no-one will want to re-type all your stuff before starting).

    A. It does NOT have to be your real sheet - mock up a SAMPLE if you need to. But not 1000's of rows!!! It makes manual checking so tedious. Whatever you do... make sure that all confidential information is removed first!!

    B. Make sure that your sample data are truly REPRESENTATIVE of your real data. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

    C. Make sure that your desired solution is also shown (mock up the results manually).

    D. Try to avoid using merged cells. They cause lots of problems!

    Unfortunately the attachment icon doesn't work at the moment. So, to attach an Excel file you have to do the following: Just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.
    Glenn



  3. #3
    Registered User
    Join Date
    02-27-2015
    Location
    israel
    MS-Off Ver
    2010
    Posts
    18

    Re: Calculates whether the value is true

    Hello I updated my profile and I added the file

    Issue 2 has a total price - a total price from Sheet 1
    It should automatically paste the total price

    Thank you

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Northern Ireland
    MS-Off Ver
    Excel 2013 & 2016
    Posts
    22,158

    Re: Calculates whether the value is true

    One way, using an array formula in K7, copied down:

    =SUMPRODUCT(IF(IF(G7:J7="V",$G$6:$J$6)=$F$13:$F$16,$E$13:$E$16))

    Array Formulae are a little different from ordinary formulae in that they MUST be confirmed in the FIRST CELL ONLY by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. After that, the array can be dragged down as normal, to cover the desired range.

    You will know the array is active when you see curly brackets { } - or "curly braces" for those of you in the USA, or "flower brackets" for those of you in India - appear around the outside of your formula. If you do not use CTRL+SHIFT+ENTER you will (almost always) get an error message or an incorrect answer. Press F2 on that cell and try again.

    Don't type the curly brackets yourself - it won't work...
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    02-27-2015
    Location
    israel
    MS-Off Ver
    2010
    Posts
    18

    Re: Calculates whether the value is true

    Wow thanks
    Is it possible to take the total amount and paste automatic by name in the second issue?

    Example:
    Test1 -> 2000$

    Thanks

  6. #6
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Northern Ireland
    MS-Off Ver
    Excel 2013 & 2016
    Posts
    22,158

    Re: Calculates whether the value is true

    Back in a couple of hours....

  7. #7
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Northern Ireland
    MS-Off Ver
    Excel 2013 & 2016
    Posts
    22,158

    Re: Calculates whether the value is true

    Is this what you mean?

    =INDEX(גיליון1!J:J,MATCH(גיליון2!F7,גיליון1!I:I,0))

    If so, you're welcome.



    If that takes care of your original question, please select "Thread Tools" from the menu link above and mark this thread as SOLVED.

    It'd also be appreciated if you were to click the Add Reputation button at the foot of any of the posts of all members who helped you reach a solution.
    Attached Files Attached Files

  8. #8
    Forum Expert Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    BKK, Thailand
    MS-Off Ver
    Excel365
    Posts
    2,630

    Re: Calculates whether the value is true

    Another one

    K2 press Ctrl+Shift+Enter if food G6:J5 and F13:F16 are in the same sequennce.
    =SUM(IF(G7:J7="V",TRANSPOSE($E$13:$E$16)))

    or if not
    K2 press Ctrl+Shift+Enter
    =SUM(SUMIFS($E$13:$E$16,$F$13:$F$16,IF(G7:J7="V",$G$6:$J$6)))

    L7
    =VLOOKUP(E7,גיליון1!$H$6:$J$7,3,)
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    02-27-2015
    Location
    israel
    MS-Off Ver
    2010
    Posts
    18

    Re: Calculates whether the value is true

    Thank you
    Just what I wanted

  10. #10
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Ipswich, England
    MS-Off Ver
    Excel 2016 (Win 10 - Work) & 365 Subscription (Win 10 - Home)
    Posts
    30,944

    Re: Calculates whether the value is true

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!

    Forum Rules (updated September 2018): please read them here.
    How to use the Power Query code you've been given: help here. More about the Power suite here.
    Don't forget to say "thank you" to those who have helped you in your thread. If you wish, you can also reward them by clicking on their reputation star bottom left.

  11. #11
    Registered User
    Join Date
    02-27-2015
    Location
    israel
    MS-Off Ver
    2010
    Posts
    18

    Re: Calculates whether the value is true

    The sums I managed to do
    But I could not manage the calculations
    Have you got a teamvewar?

    Glenn Kennedy

  12. #12
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Northern Ireland
    MS-Off Ver
    Excel 2013 & 2016
    Posts
    22,158

    Re: Calculates whether the value is true

    I do not understand you. What is a teamvewar???

  13. #13
    Registered User
    Join Date
    02-27-2015
    Location
    israel
    MS-Off Ver
    2010
    Posts
    18

    Re: Calculates whether the value is true

    Everything works. Thank you

  14. #14
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Northern Ireland
    MS-Off Ver
    Excel 2013 & 2016
    Posts
    22,158

    Re: Calculates whether the value is true

    You're welcome.



    If that takes care of your original question, please select "Thread Tools" from the menu link above and mark this thread as SOLVED.

    It'd also be appreciated if you were to click the Add Reputation button at the foot of any of the posts of all members who helped you reach a solution.

  15. #15
    Registered User
    Join Date
    02-27-2015
    Location
    israel
    MS-Off Ver
    2010
    Posts
    18

    Re: Calculates whether the value is true

    Need more help
    How do I make 2 items in a cell
    The file has an example
    Pizza 3 OR V V V

    THANKS
    Attached Files Attached Files

+ Reply to Thread
Page 1 of 2 1 2 LastLast

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