Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 11-11-2010, 02:19 PM
nfphilpot nfphilpot is offline Using IF Windows XP Using IF Office 2007
Novice
Using IF
 
Join Date: Nov 2010
Posts: 7
nfphilpot is on a distinguished road
Default Using IF

I am looking for a formula that looks up the value of a cell if another cell contains certain text. ie.



.....A.......B........C.......D
1 John....£30....£55....£90
2 Tim......£40
3 Rosie....£30
4 John.....£25
5 Tim......£50

(excuse my use of '..' to get a correctish lay out...so novice i know

The relationship between columns A and B is 'A' ie John saved £30 and at a later date saved £25 (cell 4B)

So im looking for a formula that adds up all that each individual has saved.

Something like

=IF(A1:A5) equals 'John' then add all the values in column 'B' (in this case B1 and B4) and display the total in another Cell, say C1

=IF(A1:A5) equals 'Tim' then add all the values in column 'B' (in this case B2 and B5) and display the total in another Cell, say D1

Is there a formula that is cunning enough to add up all John, Tim and Rosie's individual totals

please imagine a lot of names and a lot of amounts.

Regards

Nic
Reply With Quote
 



Other Forums: Access Forums

All times are GMT -7. The time now is 12:55 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