excel advanced vlookups
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 » Excel Advanced - V-Lookups and Formulas

Excel Advanced - V-Lookups and Formulas

resolvedResolved · Medium Priority · Version 2007

replyReply Thu 30 Jun 2011, 10:37Delegate Alex said...

Alex has attended:
Excel Advanced course

Excel Advanced - V-Lookups and Formulas

I have created a budget which has been separated into sections ie pre event work, onsite work and post event work. For each section, i have listed the time for each person in my team which they will have to spend ie the number of days they will work pre, on and post event.

I have created a VLookUp so that everytime I add a person's name, then their internal and then their external rate is included in the rate box so I'm happy with that

What i would now like to be able to do is to be able to add up all the days that 1 person would work over the whole project by just inputiting their name into a box rather than individually clicking on each box which has their name and number of days worked.

Is there a formula that does this as I've attempted a few.

Thank you

For upcoming training course dates see: Pricing & availability

replyReply Thu 30 Jun 2011, 14:17Trainer Clare said...

RE: Excel Advanced - V-Lookups and Formulas

Hi Alex,

Thanks for your question.

If I understand the question, I think that the SUMIF should give you what you need. It has 3 parts, the last is the column of numbers you want to add up, the second is the condition you want to use and the 1st is the column the condidion applies to. The 1st and 3rd arguments must be the same length.

Suppose you type the name into cell A1 and you want the total number of days in B1. You also have the following 6 columns of information somewhere else in the spreadsheet, not necessarily beside each other: names_pre, days_pre, names_on, days_on, names_post and days_post.

the formula in B1 is:

=SUMIF(names_pre,A1,days_pre)+SUMIF(names_on,A1,days_on)+SUMIF(names_post,A1,days_post)

Hope this sorts out your summary!

Regards

Clare

replyReply Thu 28 Jul 2011, 14:11Delegate Alex said...

RE: Excel Advanced - V-Lookups and Formulas

HI Claire

Thanks for your reponse. Any chance we can talk through on the phone as I don't really understand how I can put the above in to my column to get the answer I want?

Let me know the best number to call so I can call when I have time to put aside for this.

Apologies for the delay in getting this back to you

Alex

replyReply Thu 28 Jul 2011, 15:39Trainer Clare said...

RE: Excel Advanced - V-Lookups and Formulas

Hi Alex,

Your best bet is probably to e-mail me the file, so I can have a quick look at it first - clare. Phones are always tricky for timing due to training schedules! If you could put some sort of a comment in the spreadsheet about where you would like the answer, I'll be able to see more clearly what you are getting at, and I'll get back to you.

The delay is no problem!

Clare

replyReply Sat 30 Jul 2011, 09:57Trainer Clare said...

RE: Excel Advanced - V-Lookups and Formulas

Hi Alex,

I made a copy of your sheet and put the sumif functions down at the bottom, where you do your additions along with a few comments. You could name various cell ranges rather than use cell references as I did.

I hope this gives you what you need.

Attached files...

Working_Budget_Wales_MD.xlsx

Thu 7 Jul 2011: Automatically marked as resolved.

 

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

Excel tip:

Checking if a calculation adheres to Order of Precedence

When writing formulas you must make sure that results will be calculated as you intended.

Excel adheres to the standard order of precedence for calculations. It calculates percentages, exponents, multiplication, and division in this order before calculating addition and subtraction.

For example, =7+5*3 results in an answer of 22, not 36.

To force a calculation to be completed before another calculations, place the section in parentheses: =(7+5)*3 will result in 36.

To check how excel is evaluating a formula, click on the cell and select the 'Tools' menu, select 'Formula Auditing' and click 'Evaluate Formula'

In the dialog box click on 'Evaluate' to watch as each part of the formula is successively calculated.

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