We’d like to remind Forumites to please avoid political debate on the Forum.

This is to keep it a safe and useful space for MoneySaving discussions. Threads that are – or become – political in nature may be removed in line with the Forum’s rules. Thank you for your understanding.

📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!
The Forum now has a brand new text editor, adding a bunch of handy features to use when creating posts. Read more in our how-to guide

Anyone good with nested formulas?

2»

Comments

  • Lil306
    Lil306 Posts: 1,692 Forumite
    Part of the Furniture 1,000 Posts Name Dropper Combo Breaker
    Muchos gracias, I love all the replies. Helping me understand the nested and validation a lot better. Think I'm going to have to buy one of those geek books :D

    EDIT - Didn't realise I had to share it

    This link should work
    Link Me
    Owner of andrewhope.co.uk, hate cars and love them

    Working towards DFD

    HSBC Credit Card - £2700 / £7500
    AA Loans - (cleared £9700)
  • Lokolo
    Lokolo Posts: 20,861 Forumite
    Part of the Furniture 10,000 Posts
    Don't use B2=0 to mean B2 is blank. You should use B2="".

    So if you have this:

    If the value entered in Column D, was <2 - it would produce "Day-Tripper" in E
    If the value entered in Column D, was >30 - it would produce "Too Long" in E
    Otherwise, leave the column E blank

    Then you would have an if statement look like this:

    If D < 2
    ->PRINT "Day Tripper"
    Else
    ->If D > 30
    ->->PRINT "Too Long"
    ->Else
    ->->LEAVE BLANK
    ->End if
    End if

    which would equate to:

    =IF(D<2,"Day Tripper",(IF(D>30,"Too Long","")))
  • Lil306
    Lil306 Posts: 1,692 Forumite
    Part of the Furniture 1,000 Posts Name Dropper Combo Breaker
    Lokolo wrote: »
    Don't use B2=0 to mean B2 is blank. You should use B2="".

    So if you have this:

    If the value entered in Column D, was <2 - it would produce "Day-Tripper" in E
    If the value entered in Column D, was >30 - it would produce "Too Long" in E
    Otherwise, leave the column E blank

    Then you would have an if statement look like this:

    If D < 2
    ->PRINT "Day Tripper"
    Else
    ->If D > 30
    ->->PRINT "Too Long"
    ->Else
    ->->LEAVE BLANK
    ->End if
    End if

    which would equate to:

    =IF(D<2,"Day Tripper",(IF(D>30,"Too Long","")))
    Ty, always good to learn :)
    Owner of andrewhope.co.uk, hate cars and love them

    Working towards DFD

    HSBC Credit Card - £2700 / £7500
    AA Loans - (cleared £9700)
This discussion has been closed.
Meet your Ambassadors

🚀 Getting Started

Hi new member!

Our Getting Started Guide will help you get the most out of the Forum

Categories

  • All Categories
  • 353.5K Banking & Borrowing
  • 254.2K Reduce Debt & Boost Income
  • 455.1K Spending & Discounts
  • 246.6K Work, Benefits & Business
  • 603K Mortgages, Homes & Bills
  • 178.1K Life & Family
  • 260.6K Travel & Transport
  • 1.5M Hobbies & Leisure
  • 16K Discuss & Feedback
  • 37.7K Read-Only Boards

Is this how you want to be seen?

We see you are using a default avatar. It takes only a few seconds to pick a picture.