+ Reply to Thread
Results 1 to 6 of 6

if combine with and

  1. #1
    Registered User
    Join Date
    01-11-2013
    Location
    Malaysia
    MS-Off Ver
    Excel 2003
    Posts
    3

    if combine with and

    Hi, i would like to have a formula which if A1<30 and A2<40, result turn as A3*20%. or else the result will be A3. I'm don't know which formula should i use.

  2. #2
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,361

    Re: if combine with and

    Welcome to the forum.
    Try it like this
    =if(and(A1<30,A2<40),A3*20%,A3)
    I think people forget the word "THANK YOU!!!!" Do you still know it???

    There is a little star ( ADD REPUTATION ) below those person who helped you. Click it to say your "PRIVATE APPRECIATION TO THEIR EFFORT ON THEIR CONTRIBUTIONS "

    Regards,
    Vladimir

  3. #3
    Registered User
    Join Date
    01-11-2013
    Location
    Malaysia
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: if combine with and

    Hi, thanks for your reply. But i still can't get it.

    A1 40
    A2 30
    A3 41


    A5 answer is 41, using the formula. But this answer should be 8.2 (41*20%). The statement is A1 is <30 and A2 is < 40 but in this column A2 is not more than 40.

    Pls help. Thank You.

  4. #4
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,361

    Re: if combine with and

    i think i twisted the resulting values
    should be
    =IF(AND(A1<30,A2<40),A3,A3*20%)

  5. #5
    Registered User
    Join Date
    01-11-2013
    Location
    Malaysia
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: if combine with and

    Thanks for your help !

  6. #6
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: if combine with and

    Based on your last post in this thread, its apparent that you are satisfied with the solution(s) you've received and have solved your question, but you haven't marked your thread as "SOLVED". I will do it for you this time.

    In future, to mark your thread as Solved, you can do the following -
    Select Thread Tools-> Mark thread as Solved.

    Incase your issue is not solved, you can undo it as follows -
    Select Thread Tools-> Mark thread as Unsolved.

    Also, since you are relatively new to the forum, i would like to inform you that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post which helped you. This adds to the reputation of the person who has taken the time to help you.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ 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. Combine Duplicate Rows and Combine Data in Rows
    By cherylmcgk in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-08-2013, 12:04 PM
  2. [SOLVED] Using Combine macro to combine multiple worksheets - need to modify to paste formulas
    By DLSmith in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-26-2012, 09:07 AM
  3. [SOLVED] Combine into one please
    By Steved in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-25-2005, 10:05 PM
  4. [SOLVED] Combine into one please.
    By Steved in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-22-2005, 08:06 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