+ Reply to Thread
Results 1 to 3 of 3

Thread: Two Formulas in one

  1. #1
    Registered User
    Join Date
    12-20-2010
    Location
    Cambridge, Ontario
    MS-Off Ver
    Excel 2007
    Posts
    42

    Two Formulas in one

    I'm trying to combine these two formulas but can't seem to get it to work.

    =IF(AND(A32="x",B32="US"),I32*$D$89*$F$89,0)=IF(AND(A32="x",B32="CDN"),I32*$F$89,0)

    Basically, if there is NO "X" placed in a cell, i'd like the result to be zero.

    IF there is an X placed in the cell, I need it to read if its US or CDN and if so, I need it to react differently for both.

    D89 is the exchange rate
    F89 is the markup that i'm selling my product for.

    I'm basically trying to make a form that I can fill out when a customer orders something from me (kind of Purchase Order type of thing) and I want to give the customer a total right away.

    Any help in combining this or fixing this formula would be GREATLY appreciated!!!
    Last edited by HHR; 02-09-2012 at 02:22 PM. Reason: Solved

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    Excel 2007
    Posts
    6,209

    Re: Two Formulas in one

    Try: =IF(A32="x", I32*$F$89*IF(B32="US", $D$89, 1), 0)
    "Relax. What is mind? No matter. What is matter? Never mind!"

  3. #3
    Registered User
    Join Date
    12-20-2010
    Location
    Cambridge, Ontario
    MS-Off Ver
    Excel 2007
    Posts
    42

    Re: Two Formulas in one

    Yeah!! Worked beautifullly!! thank you so much!

+ Reply to Thread

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.2.0