Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
tom tom is offline
external usenet poster
 
Posts: 570
Default By selecting cells adjacent to cells tally sheet

$6,980 x
$11,880
$4,900 x

By putting an "X" in a cell adjacent to a number in a different cell is
there a way for a sheet to add up the cells chosen? Using the example above
the sheet would total $11,880.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,118
Default By selecting cells adjacent to cells tally sheet

Try this:

With
Values in A2:A10
Flags entered in B2:B10

This formula sums all flagged items
B11: =SUMIF(B2:B10,"?",A2:A10)

Note:
the wildcard ( ? ) allows you to use any single character at all to flag
values.

If you want to only sum on a specific flag, like "X", use this version
B11: =SUMIF(B2:B10,"x",A2:A10)

Does that help?
***********
Regards,
Ron

XL2002, WinXP


"Tom" wrote:

$6,980 x
$11,880
$4,900 x

By putting an "X" in a cell adjacent to a number in a different cell is
there a way for a sheet to add up the cells chosen? Using the example above
the sheet would total $11,880.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,089
Default By selecting cells adjacent to cells tally sheet

Have look at SUMIF

=SUMIF(Q:Q,"x",P:P)

Regards

Trevor


"Tom" wrote in message
...
$6,980 x
$11,880
$4,900 x

By putting an "X" in a cell adjacent to a number in a different cell is
there a way for a sheet to add up the cells chosen? Using the example
above
the sheet would total $11,880.



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
Use the Merge & Center Button with unprotected Cells - sheet prote Dennis Cantellops Setting up and Configuration of Excel 1 September 22nd 06 12:49 AM
macro unouwanme Excel Discussion (Misc queries) 9 August 31st 06 09:38 PM
Compiling macro based on cell values simonsmith Excel Discussion (Misc queries) 1 May 16th 06 08:31 PM
Selecting data from database sheet Duane Excel Discussion (Misc queries) 0 May 8th 06 10:30 PM
Change scales from reference cells value for a chart in a separate sheet ers Charts and Charting in Excel 4 April 2nd 06 07:00 PM


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

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"