+ Reply to Thread
Results 1 to 4 of 4

Pricing variances for comparison

  1. #1
    Registered User
    Join Date
    06-18-2012
    Location
    Philadelphia
    MS-Off Ver
    Excel 2007
    Posts
    14

    Pricing variances for comparison

    I am working on another variance if statement. It seems I can not get this one the way I initially intedended. Is there anyone out there that can help with this?
    I am trying to do a comparison across the 3 stores for any at all price variance. I have 3 stores that list 3 values. In a perfect world the price would be equal but of course it isn't. You can see what I am talking about on the attached file. I am trying to find out which store has a variance and if so what the $ amount is. I have some of the if an statement but I dont think I have it down completely as I am asking for help. Please see the attached file.
    Attached Files Attached Files
    Last edited by hutchgeo4; 06-18-2012 at 04:39 PM. Reason: Wrong attachment

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Pricing variances for comparison

    I think you attached the wrong file. I don't see any prices.
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Valued Forum Contributor
    Join Date
    05-08-2012
    Location
    Georgia, USA
    MS-Off Ver
    Excel 2003, 2010
    Posts
    811

    Re: Pricing variances for comparison

    Copy this formula in cell D2
    =IF(AND(A2=B2,B2=C2),"No Variance",IF(AND(A2=B2,B2<>0),"Variance in 3",IF(AND(A2=C2,C2<>0),"Variance in 2",IF(AND(A2=B2,B2=0),"Variance in 1&2",IF(AND(B2=C2,C2=0),"Variance in 2&3",IF(AND(B2=C2,C2<>0),"Variance in 1","Variance in 1&3"))))))
    Copy the formula down to row 9

    Copy this formula in cell E2
    =IF(AND(A2=B2,B2=C2),"No Variance",IF(AND(A2=B2,B2<>0),ABS(B2-C2),IF(AND(A2=C2,C2<>0),ABS(A2-B2),IF(AND(A2=B2,B2=0),ABS(B2-C2),IF(AND(B2=C2,C2=0),ABS(A2-B2),IF(AND(B2=C2,C2<>0),"Variance in 1",ABS(A2-B2)))))))
    Copy the formula down to row 9





    Kirk

    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)
    Attached Files Attached Files
    Click on star (*) below if this helps

  4. #4
    Registered User
    Join Date
    06-18-2012
    Location
    Philadelphia
    MS-Off Ver
    Excel 2007
    Posts
    14

    Re: Pricing variances for comparison

    Kirk,
    You arre awesome! Thanks for the help! I will mark it down as solved. Any suggestions on excel classes to take so thatI could become more advanced?

+ 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.6.0 RC 1