+ Reply to Thread
Results 1 to 3 of 3

Need to decipher an old formula

  1. #1
    Registered User
    Join Date
    07-01-2020
    Location
    England
    MS-Off Ver
    LibreOffice Calc / MS Excel 2003
    Posts
    37

    Need to decipher an old formula

    Hi there, l need to update a spreadsheet of mine. This spreadsheet allowed me to extract the basic price of an item, by working backward from the given shop price, peeling off layers of transaction fees, packaging costs etc., and arriving at the base unit price, so that l can run with that price and build up to the retail price for another shop that uses different transaction fees.

    So anyway, l cannot explain what each part means.

    However, l can explain that there are 2 sheets referenced, one called "Template" (where the formula itself appears) and the other called "Variables" which is a reference sheet where l note the values of some variable fields e.g. transaction fee for a particular item category.

    What l want to know is, could somebody write out in plain English, what the following formula is actually saying?

    =IF($Variables.$A$11="Y",($Template.$F2-MIN($Template.$F2*$Template.$AA2%,IF($Variables.$A$6>0,$Variables.$A$6,9^9))-MIN($Template.$F2*$Variables.$A$3%+$Variables.$A$4,$Template.$F2*$Variables.$A$7%+$Variables.$A$8))-$Template.$AD2-$Template.$AE2,($Template.$F2-MIN($Template.$F2*$Template.$AA2%,IF($Variables.$A$6>0,$Variables.$A$6,9^9))-MIN($Template.$F2*$Variables.$A$3%+$Variables.$A$4,$Template.$F2*$Variables.$A$7%+$Variables.$A$8))-$Template.$AD2)


    I know it looks messy, and l know you want to know more, everything there is to know about the formula. But please, try to put as much of the above, into plain English prose as possible, if you can? My pain points are the following functions:
    "-MIN" and "9^9", but l don't just want to know what these mean in isolation, l would ideally like the entire formula written in prose :^)

  2. #2
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Need to decipher an old formula

    That's a lot of formula to digest at 6am!

    It would be easier to explain it if we could see it in context, i.e. actually in a workbook.

    However I will tell you that -MIN is simply subtracting the minimum value calculated by that function within the formula from the value in F2 on the sheet called template.
    Also it appears that 9^9 is just producing an arbitrary very large number. It's quite a common thing in spreadsheet formulas but quite why it's being used in this instance I couldn't say without seeing the file itself.

    So, it reads a little something like this....

    If A11 on Variables sheet = Y then show the value of F2 on Template sheet minus the minimum of:
    a) F2 on Template multiplied by AA2 on Template
    b) A6 on Variables (unless it's 0 or less in which case use the large number generated by 9^9)
    Minus the minimum of:
    a) F2 on variables multiplied by A3 on Variables plus A4 on Variables
    b) F2 on Template multiplied by A7 on Variables + A8 on Variables
    Minus AD2 on Template minus AE2 on Template
    But if A11 on Variables does NOT = Y the show the value of F2 on Template minus the same as above but not subtracting AE2 at the end.



    BSB

  3. #3
    Registered User
    Join Date
    07-01-2020
    Location
    England
    MS-Off Ver
    LibreOffice Calc / MS Excel 2003
    Posts
    37

    Re: Need to decipher an old formula

    Thank you for your kind reply, l really wish you well for this. I give you 1 reputation point but please no need to give any reputation back, it's only you that deserves it for this thread buddy!

+ 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. Please help decipher VBA code
    By ugkwan in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-31-2016, 01:10 PM
  2. [SOLVED] Can anybody decipher the actual formula used in this spreadsheet ?
    By kashbg in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 03-22-2015, 08:57 AM
  3. How to decipher what vehicle has been used on what day
    By Nicky_B in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-26-2014, 10:43 AM
  4. Can someone decipher this formula for me?
    By lifeboat in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-22-2014, 12:11 PM
  5. [SOLVED] Help to decipher formula
    By sasexcel in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-30-2012, 05:40 PM
  6. Help decipher this formula, please
    By IndyDomer in forum Excel General
    Replies: 1
    Last Post: 06-27-2012, 07:00 PM
  7. Can someone decipher these formulas?
    By Bayebd24 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-24-2012, 01:17 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