+ Reply to Thread
Results 1 to 28 of 28

Calculates whether the value is true

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

    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
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,893

    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




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

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

    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
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,893

    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
    365
    Posts
    75

    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
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,893

    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
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,893

    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 Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    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
    365
    Posts
    75

    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
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    79,369

    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!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

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

    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
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,893

    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
    365
    Posts
    75

    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
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,893

    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
    365
    Posts
    75

    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

  16. #16
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Calculates whether the value is true

    A lot easier if you just Put number instead of V or V*2

    H7 with Ctrl+Shift+Enter
    =SUM(G7:J7*TRANSPOSE($E$13:$E$16))
    Attached Files Attached Files

  17. #17
    Registered User
    Join Date
    02-27-2015
    Location
    israel
    MS-Off Ver
    365
    Posts
    75

    Re: Calculates whether the value is true

    Thanks
    How do I do under each product he will write to which school he has
    Example file
    Attached Files Attached Files

  18. #18
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Calculates whether the value is true

    Please try at G12 press CSE and copy across.

    =IFERROR(INDEX($F$7:$F$8,SMALL(IF(G$7:G$8>0,ROW(G$7:G$8)-ROW(G$6)),ROWS(G$12:G12))),"")
    Attached Files Attached Files

  19. #19
    Registered User
    Join Date
    02-27-2015
    Location
    israel
    MS-Off Ver
    365
    Posts
    75

    Re: Calculates whether the value is true

    Thanks. But there is a possibility that it will not register x4. Just write down the name of the school?

  20. #20
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Calculates whether the value is true

    What do you mean?
    G12:J13 show name only.

    The G15:J16 is just for show you can delete if you don't want

    Name.jpg

  21. #21
    Registered User
    Join Date
    02-27-2015
    Location
    israel
    MS-Off Ver
    365
    Posts
    75

    Re: Calculates whether the value is true

    Yes,
    Only name

  22. #22
    Registered User
    Join Date
    02-27-2015
    Location
    israel
    MS-Off Ver
    365
    Posts
    75

    Re: Calculates whether the value is true

    Can I block any characters other than numbers?
    PIC: https://prntscr.com/m8cfij

  23. #23
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Calculates whether the value is true

    Please try at G12

    =IFERROR(INDEX($F$7:$F$8,SMALL(IF(G$7:G$8<>"",ROW(G$7:G$8)-ROW(G$6)),ROWS(G$12:G12))),"")

    You can do anything but if it not consistent, the formula will get longer and longer.
    Attached Files Attached Files

  24. #24
    Registered User
    Join Date
    02-27-2015
    Location
    israel
    MS-Off Ver
    365
    Posts
    75

    Re: Calculates whether the value is true

    Nothing happens.
    If I apply the letter V then it will not be considered (only numbers)


    Thanks Friend

  25. #25
    Registered User
    Join Date
    02-27-2015
    Location
    israel
    MS-Off Ver
    365
    Posts
    75

    Re: Calculates whether the value is true

    thank you dear friend
    Another thing: how can I calculate the quantity of products + calculate the amount of the same product (marked in yellow)
    Thanks!
    Attached Files Attached Files

  26. #26
    Registered User
    Join Date
    02-27-2015
    Location
    israel
    MS-Off Ver
    365
    Posts
    75

    Re: Calculates whether the value is true

    Help me please

  27. #27
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Calculates whether the value is true

    Please try G12

    =SUM(G7:G8)
    Attached Files Attached Files

  28. #28
    Registered User
    Join Date
    02-27-2015
    Location
    israel
    MS-Off Ver
    365
    Posts
    75

    Re: Calculates whether the value is true

    Champion!!!

+ 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. Replies: 3
    Last Post: 08-16-2018, 06:07 AM
  2. =AND() not working as expected. Two true functions don't give true result
    By rectorsquid in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-30-2018, 04:34 PM
  3. [SOLVED] .Visible property not remaining true (or even becoming true) when code runs.
    By SocratesJC in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-07-2015, 06:20 PM
  4. Help popup window if condition is TRUE in change event if conditon is true
    By fanku in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 07-09-2014, 12:46 PM
  5. how to make checkbox true selecting then chaning 2nd box true when null
    By ferrum_equitis in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-30-2012, 01:13 PM
  6. Replies: 3
    Last Post: 07-15-2006, 05:20 AM
  7. [SOLVED] Function to return True/False if all are validated as True by ISNU
    By Tetsuya Oguma in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-15-2006, 06:30 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