Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #5  
Old 03-03-2012, 01:58 AM
Colin Legg's Avatar
Colin Legg Colin Legg is offline Vlookup Windows 7 32bit Vlookup Office 2010 32bit
Expert
 
Join Date: Jan 2011
Location: UK
Posts: 369
Colin Legg will become famous soon enough
Default

Sorry, I missed that you want the average and max as well.

Sum
=SUMIF(B2:B20,"Medical",C2:C20)

Average
=AVERAGEIF(B2:B20,"Medical",C2:C20)

Max (this is an array formula, CTRL+SHIFT+ENTER, not just ENTER)
=MAX(IF(B2:B20="Medical",C2:C20))

However, if you want to repeat this exercise for each division then you should use a pivot table. I have attached an example.
Attached Files
File Type: xlsx Test1.xlsx (14.1 KB, 11 views)
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Using Vlookup & IF together thelauncher Excel 5 08-25-2013 11:32 PM
Vlookup ibrahimaa Excel 8 01-03-2012 09:32 PM
Vlookup Can i do this with a VLookup? foodstudent Excel 1 01-21-2011 12:34 AM
Using IF & VLOOKUP together junction Excel 7 11-18-2010 05:15 AM
Help with VLOOKUP sakhtar Excel 2 07-24-2010 07:39 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 07:38 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft