Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Gladys
 
Posts: n/a
Default Help - Is it possible Formula

I have a spreadsheet with following info -

Column A - Column B
2004 10.00
2005 11.00
2005 15.00
2004 5.00
Total 2005 26.00 (b2+b3)

I would like a formula in cell b5 that adds data in column "B if the data in
column "A" = 2005
So in this example the formula in total 2005 should equal 26.00.

Hope this makes sense - Thanks in advance - This is a large spreadsheet and
if this is possible it would make life a lot easier.
BTW using Excel 2003
  #2   Report Post  
Dodo
 
Posts: n/a
Default

?B?R2xhZHlz?= wrote in
:

I would like a formula in cell b5 that adds data in column "B if the
data in column "A" = 2005
So in this example the formula in total 2005 should equal 26.00.


Use SUMIF


--

It is I, DeauDeau
(Free after monsieur Leclerc in 'Allo, 'allo)
  #3   Report Post  
Bob Phillips
 
Posts: n/a
Default

=SUMIF(A1:A100,2005,B1;B100)

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Gladys" wrote in message
...
I have a spreadsheet with following info -

Column A - Column B
2004 10.00
2005 11.00
2005 15.00
2004 5.00
Total 2005 26.00 (b2+b3)

I would like a formula in cell b5 that adds data in column "B if the data

in
column "A" = 2005
So in this example the formula in total 2005 should equal 26.00.

Hope this makes sense - Thanks in advance - This is a large spreadsheet

and
if this is possible it would make life a lot easier.
BTW using Excel 2003



  #4   Report Post  
Paul
 
Posts: n/a
Default

One word of advice - make sure that the ranges are aligned (start and end on
the same row) or else you get funky data

"Bob Phillips" wrote:

=SUMIF(A1:A100,2005,B1;B100)

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Gladys" wrote in message
...
I have a spreadsheet with following info -

Column A - Column B
2004 10.00
2005 11.00
2005 15.00
2004 5.00
Total 2005 26.00 (b2+b3)

I would like a formula in cell b5 that adds data in column "B if the data

in
column "A" = 2005
So in this example the formula in total 2005 should equal 26.00.

Hope this makes sense - Thanks in advance - This is a large spreadsheet

and
if this is possible it would make life a lot easier.
BTW using Excel 2003




  #5   Report Post  
Bob Phillips
 
Posts: n/a
Default

Are you sure?

Try this

=SUMIF(A1:A100,2005,B2:B101)

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Paul" wrote in message
...
One word of advice - make sure that the ranges are aligned (start and end

on
the same row) or else you get funky data

"Bob Phillips" wrote:

=SUMIF(A1:A100,2005,B1;B100)

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Gladys" wrote in message
...
I have a spreadsheet with following info -

Column A - Column B
2004 10.00
2005 11.00
2005 15.00
2004 5.00
Total 2005 26.00 (b2+b3)

I would like a formula in cell b5 that adds data in column "B if the

data
in
column "A" = 2005
So in this example the formula in total 2005 should equal 26.00.

Hope this makes sense - Thanks in advance - This is a large

spreadsheet
and
if this is possible it would make life a lot easier.
BTW using Excel 2003






Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
referencing named formula using INDIRECT function [email protected] Excel Worksheet Functions 19 May 11th 05 09:48 AM
Simplify formula Luke Excel Worksheet Functions 37 May 6th 05 07:21 AM
put formula results into a different cell if it is empty PutFormula Excel Worksheet Functions 2 February 11th 05 03:31 AM
how do i write a formula and keep in in formula form, so it DOESN. norcalchick2207 Excel Discussion (Misc queries) 2 February 4th 05 08:38 PM
Match / Vlookup within an Array formula Hari Prasadh Excel Discussion (Misc queries) 3 February 3rd 05 04:37 PM


All times are GMT +1. The time now is 12:05 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"