nesting if
The UK's Number 1 for Microsoft Office Training Add this page to your favourites/bookmarksBookmark page
 
View printable version of pagePrintable version
Plus One Google
Customer: Sign in
Delegate: Sign in
Trainer: Log in

Forum home » Delegate support and help forum » Microsoft Excel Training and help » Nesting if

Nesting if

resolvedResolved · Low Priority · Version 2007

replyReply Fri 15 Jul 2011, 10:58Delegate Shane said...

Shane has attended:
Excel Advanced course
Excel VBA Intro Intermediate course

Nesting if

Hi,

I did the sample question on the grade allocation.xls file and the formula i used in column K is as follows. Just wanted to know if there is a way to convert a text answer into a numerical figure without using a further IF statement?

=B2+C2+D2+E2+F2+IF(I2=10,10,0)


Thanks,
Shane

For upcoming training course dates see: Pricing & availability

replyReply Fri 15 Jul 2011, 14:33Trainer Simon said...

RE: nesting if

Hi Shane,

Thank you for your question and welcome to the forum.

The formula you need is:

=sum(b2:f2,I2)

As I2 could contain either text or a number, having I2 in the sum bracket only uses cells that contains numbers and ignores text without a #value message appearing.

I hope this answers your question.

Regards

Simon



 

Please browse our web site to find out more about
advanced+excel+training+in+london and other Microsoft training courses.

Excel tip:

No Zeros

Want all the zeros in your worksheet to appear blank? Choose Tools/Options, Click on the View Tab, Deselect the Zero Values Option, Click OK.
Easy wasn't it? But be aware that these cells are not actually blank, they still contain the value zero. This is important because certain functions (ie AVERAGE) make a distinction between blank cells and those with a zero value.

View all Excel hints and tips


Microsoft Certified Partner Accredited Training Provider: Institute of IT Training Institute of Leadership and Management - Certified Courses Security Seal verified by visa, mastercard securecard