Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

advanced formulas

Forum home » Delegate support and help forum » Microsoft Excel Training and help » Advanced formula's

Advanced formula's

ResolvedVersion 2007

Charnel has attended:
Excel Advanced course

Advanced formula's

If i have a number of columns in a sheet say a column for each month ie 12 columns.

What i'd like to know is how to sum only the columns which contain numbers in it for eg. column 1-10 have numbers in it and the last two columns have formulas but no numbers, how to i include a total column that automatically adds the columns with numbers and updated automatically if for instance a number is included in column 11?

Thanks

RE: Advanced formula's

Hi Charnel

Thanks for your question. To make sure I understand the problem can I check what happens when you put a sum function in column 13 that sums the values and the cells with formulas? Usually Excel's sum function will ignore the contents of cells with no value or non relevant text - if the contents of these cells changes to contain values that could be summed Excel automatically includes them in the result.

Let me know how you get on and we'll try to help further.

Kind regards,
Andrew

RE: Advanced formula's

Hi Andrew

So basically what i have is that in month 11 and 12 i have formula's which calculate a EURO amount based on the exchange rate input into another cell so in 11 and 12 it shows #DIV/0!.

Therefore in my total column it also shows #DIV/0!. And what i'd like it to do is add all columns as the #DIV/0! is cleared since the exchange rate in inputted and the amount is calculated.

Hope you can help
thanks

RE: Advanced formula's

Good Afternoon Charnel,

An option might be to fix the #DIV/0 using an If formula.

E.G if existing formula is =D14/D15 then new formula would be =IF(E15>0,E14/E15,). This checks if the dividing cell is greater than zero, if it is then it continues with the division, if not it returns no value.

Hope this assists

Regards
Tristan

 

Training courses

Training information:

See also:

Welcome. Please choose your application (eg. Excel) and then post your question.

Our Microsoft Qualified trainers will then respond within 24 hours (working days).

Frequently Asked Questions
What does 'Resolved' mean?

Any suggestions, questions or comments? Please post in the Improve the forum thread.

Excel tip:

Create your own custom list on Excel 2010!

If you know how to use the auto-fill option on Excel then why not create your own customs lists?

The auto fill feature saves you time by allowing you to enter one of the list entries into a cell and then use your mouse to automatically drag the rest of the list into the cells below, above or to either side of the initial cell. When using your mouse to perform this task you will see a thin black cross appear at the bottom right hand side of the cell. Click, hold and drag to make the list appear.

Default lists include weekdays and months. To create your own list in Excel 2010 do the following;

>File
>Options
>Advanced
>Scroll right to the bottom of the page and you will see a buttom "edit custom lists", click this button
>enter your list in the list entries
>click add

Now try it out. Good luck.
>

View all Excel hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.1 secs.