+ Reply to Thread
Results 1 to 5 of 5

Formula Validation - Returning Description or $ Difference

  1. #1
    Registered User
    Join Date
    01-13-2013
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    60

    Formula Validation - Returning Description or $ Difference

    Hi,

    Am seeking help for a formula contained in cell AF4 as described below.

    Y4 contains a current value
    AB4 contains a proposed value
    Z4 contains the difference between AB4 - Y4.

    In AF4 I would like the formula to check that the value in Z4 is an Exact reflection of the difference between Y4 and AB4. If correct it can then return "Balanced" or the +ve or -ve $ difference.

    Many Thanks,
    PERE

  2. #2
    Valued Forum Contributor
    Join Date
    09-04-2012
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    463

    Re: Formula Validation - Returning Description or $ Difference

    use the formula...in AF4

    =If (z4=0,"Balanced",z4)

    Regards
    CA Mahaveer Somani

  3. #3
    Registered User
    Join Date
    01-13-2013
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    60

    Re: Formula Validation - Returning Description or $ Difference

    This does not check the difference between Y4 and AB4 though? I need AF4 check the difference and if the result of the difference is "Balanced" with Z4.
    ANy suggestions?

  4. #4
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Formula Validation - Returning Description or $ Difference

    i thought you mentioned Z4 contains the difference of Y4 & AB4? so if:
    Y4: 100
    AB4: 120
    Z4: 120 - 100

    so, mahaveersomani's solution will give you 120-100 since Z4 is not 0. and you'll get 20. you can shorten slightly though if it's not confusing for you:
    =IF(Z4,Z4,"Balance")

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  5. #5
    Valued Forum Contributor
    Join Date
    09-04-2012
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    463

    Re: Formula Validation - Returning Description or $ Difference

    thanks benishiryo

    and Mr. "PERE" If my formula does not working then plz upload a sample workbook with your expected output therefore we can understand what is your requirement...?

    Regards
    CA Mahaveer Somani

+ 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