A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Word » Tables
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Does Word have something like SUMIF in Excel?



 
 
Thread Tools Display Modes
  #1  
Old December 3rd, 2004, 09:49 PM
tj3993
external usenet poster
 
Posts: n/a
Default Does Word have something like SUMIF in Excel?

I'm trying to sum a table column based on information contained in another
column. Does Word have a function similar to the SUMIF function in Excel?
  #2  
Old December 3rd, 2004, 10:04 PM
Jean-Guy Marcil
external usenet poster
 
Posts: n/a
Default

tj3993 was telling us:
tj3993 nous racontait que :

I'm trying to sum a table column based on information contained in
another column. Does Word have a function similar to the SUMIF
function in Excel?


No. But you can build an IF field that would work. Nested IF fields are
allowed in Word, just as in Excel.


{IF {SUM(abc)}= 123 "Output this" "Else output this"}
or
{IF [This]= "That" "{SUM(abc)}" "Else output this"}
etc.

--
Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
ISTOO
Word MVP site:
http://www.word.mvps.org



  #3  
Old December 3rd, 2004, 10:05 PM
Greg Maxey
external usenet poster
 
Posts: n/a
Default

I don't think so. You can use cell ranges in forumlat fields. For example,
say you want to sum column a rows 1 trough 5 in cell b1.

In b1, put the field {=sum(a1:a5)}

--
Greg Maxey/Word MVP
A Peer in Peer to Peer Support

tj3993 wrote:
I'm trying to sum a table column based on information contained in
another column. Does Word have a function similar to the SUMIF
function in Excel?



  #4  
Old December 4th, 2004, 12:35 AM
tj3993
external usenet poster
 
Posts: n/a
Default

Merci. I understand what you wrote, but I'm not sure how to apply it to what
I am doing.

Here is what I am trying to do.

I have rows of items that are categorized (for argument, let's call them
"A", "B", and "C"). I want to create totals by category. In Excel, to sum
all records in Category "A" I would type:

=SUMIF(B1:B100, "A", C1:C100),

where B1:B100 contains the category for each record and C1:C100 contains the
value for each record.

Is this possible to do?
  #5  
Old December 4th, 2004, 08:44 AM
Graham Mayor
external usenet poster
 
Posts: n/a
Default

Why don't you simply perform your calculations in Excel and paste the link
from Excel into Word?

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org




tj3993 wrote:
Merci. I understand what you wrote, but I'm not sure how to apply it
to what I am doing.

Here is what I am trying to do.

I have rows of items that are categorized (for argument, let's call
them "A", "B", and "C"). I want to create totals by category. In
Excel, to sum all records in Category "A" I would type:

=SUMIF(B1:B100, "A", C1:C100),

where B1:B100 contains the category for each record and C1:C100
contains the value for each record.

Is this possible to do?



  #6  
Old December 4th, 2004, 10:40 PM
macropod
external usenet poster
 
Posts: n/a
Default

Hi tj,

Word doesn't have anything equivalent to a SUMIF function, though you could
build up an approximation for testing numeric values via something like:
{=IF(B14,C1,0)+IF(B24,C2,0)+IF(B34,C3,0)+IF(B4 4,C4,0)}

However, I note that you're possibly trying to test whether the data in
Column B is a letter (or alhpa-numeric string). The standard column & row
cell referencing does not work with text strings, including dates and other
mixed alpha-numeric character strings. To refer to a character string in a
cell, the character strings (not the cells) must be individually bookmarked
and the bookmarks referred to in the formula. For what you're trying to do,
this might be a lot of work - a macro (or a link to an Excel workbook with
the SUMIF implementation) would be far better.

Cheers


"tj3993" wrote in message
...
Merci. I understand what you wrote, but I'm not sure how to apply it to

what
I am doing.

Here is what I am trying to do.

I have rows of items that are categorized (for argument, let's call them
"A", "B", and "C"). I want to create totals by category. In Excel, to

sum
all records in Category "A" I would type:

=SUMIF(B1:B100, "A", C1:C100),

where B1:B100 contains the category for each record and C1:C100 contains

the
value for each record.

Is this possible to do?



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.799 / Virus Database: 543 - Release Date: 19/11/2004


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Word Field Codes in Excel data file mranz Mailmerge 7 December 11th, 2004 09:02 AM
How do I convert a cd in word perfect to microsoft word greylady General Discussion 1 November 23rd, 2004 07:03 PM
updating fields lost in cincy Mailmerge 5 November 18th, 2004 07:17 PM
How to run word and pass a mail merge values and fax it to the recipient Belinda Mailmerge 2 June 13th, 2004 12:49 AM
Codes G.W. Page Layout 3 April 29th, 2004 10:50 PM


All times are GMT +1. The time now is 02:52 AM.


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