Trouble getting a Nested If statement to work

Amenbreak

New Member
Joined
Jul 10, 2008
Messages
3
Hi there

First post, hopefully I've followed the rules. I've had a good search but can't find anything specific to the issue I am having. It's very basic so I'm surprised it isn't working.

I've attached an image that hopefully clearly explains the issue I am having. Basically I'd like to return specific text (or remain blank/empty) in a cell based on Nested If statements working from a cell that contains a LEN function to total up some characters in another cell. I've researched a few sites and this should work, I can't figure it out. I've tried the words Website and Amazon with and without quote marks either side of them but this doesn't make any difference.

Thanks in advance for any help and support that can be provided.

Paul
 

Attachments

  • Nested If issue.JPG
    Nested If issue.JPG
    154.3 KB · Views: 8

Some videos you may like

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
51,001
Office Version
  1. 365
Platform
  1. Windows
Hi & welcome to MrExcel.
You need to remove the quotes from around the numbers.
 

Amenbreak

New Member
Joined
Jul 10, 2008
Messages
3
Thank you Fluff.

I tried this and it didn't work. I've attached the update.
Excel.JPG


Paul
 

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
51,001
Office Version
  1. 365
Platform
  1. Windows
You need the quotes around the text values (ie Website & Amazon), but not around the numerical values.
 

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
51,001
Office Version
  1. 365
Platform
  1. Windows
You're welcome & thanks for the feedback.
 

Watch MrExcel Video

Forum statistics

Threads
1,118,983
Messages
5,575,371
Members
412,657
Latest member
georgean
Top