Results 1 to 9 of 9

Two Ridiculously Long Formulae - Can these be made less complicated ?

Threaded View

  1. #1
    Forum Contributor
    Join Date
    08-10-2022
    Location
    Manchester
    MS-Off Ver
    2021
    Posts
    109

    Two Ridiculously Long Formulae - Can these be made less complicated ?

    I have two very long formulas.

    The first is in Cell N2 of my spreadsheet

    PHP Code: 
    =IF(A2="Six Day",(D2-TODAY())*(B8/365),IF(A2="Six Day 65 +",(D2-TODAY())*(B9/365),IF(A2="Six Day 70 +",(D2-TODAY())*(B10/365),IF(A2="Five Day",(D2-TODAY())*(B11/365),IF(A2="Three Day",(D2-TODAY())*(B12/365),IF(A2="Six Day 18 - 21",(D2-TODAY())*(B21/365),IF(A2="Six Day 22 - 24",(D2-TODAY())*(B22/365),IF(A2="Six Day 25 - 27",(D2-TODAY())*(B21/365),IF(A2="Six Day 28 - 30",(D2-TODAY())*(B20/365),IF(A2="Lady Six Day",(D2-TODAY())*(B15/365),IF(A2="Lady Six Day 65 - 69",(D2-TODAY())*(B13/365),IF(A2="Lady Six Day 70 +",(D2-TODAY())*(B14/365),IF(A2="Social",(D2-TODAY())*(B24/365),))))))))))))) 
    The second in Cell S2 is:

    PHP Code: 
    =(IF(A2="Men Six Day",B8/365,IF(A2="Men Six Day 65 - 69",B9/365,IF(A2="Men Six Day 70 +",B10/365,IF(A2="Five Day",B11/365,IF(A2="Three Day",B12/365,IF(A2="Six Day 28 - 30",B20/365,IF(A2="Six Day 25 - 27",B21/365,IF(A2="Six Day 22 - 24",B22/365,IF(A2="Six Day 18 - 21",B23/365,IF(A2="Social",B24/365,)))))))))))+IF(F2="YES",B25/365)+IF(G2="YES",B26/365

    Both of these work fine, but are long andpotentially open to errors.

    I have restructured this spreadsheet already to match my Excel knowledge ability, but welcome any advice on making it simpler. If it possible, could any explanation be provided on how the revised formula would work.

    Any other observations would be welcome. I've only just figured out Index/Match which I have used in C2
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Complicated Nested formulae using IF , AND , OR...
    By CDandVinyl in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 06-10-2020, 02:00 PM
  2. [SOLVED] Complicated Nested formulae using IF , AND , OR...
    By CDandVinyl in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-26-2020, 10:32 PM
  3. Replies: 2
    Last Post: 06-07-2017, 06:07 AM
  4. Replies: 2
    Last Post: 05-22-2013, 05:39 PM
  5. its complicated to explain see the tables i made :)
    By stratos2121 in forum Excel General
    Replies: 11
    Last Post: 04-21-2013, 02:21 AM
  6. Ridiculously long calculation time
    By dbconfession in forum Excel General
    Replies: 1
    Last Post: 09-14-2009, 01:15 AM
  7. Help Complicated formulae between columns
    By Bohk in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 08-02-2009, 12:35 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