Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Eva Eva is offline
external usenet poster
 
Posts: 197
Default Vlookup accounting-style

why don't you try use sumif formula?
SUMIF
See Also

Adds the cells specified by a given criteria.

Syntax

SUMIF(range,criteria,sum_range)

Range is the range of cells you want evaluated.

Criteria is the criteria in the form of a number, expression, or text that
defines which cells will be added. For example, criteria can be expressed as
32, "32", "32", "apples".

Sum_range are the actual cells to sum. The cells in sum_range are summed
only if their corresponding cells in range match the criteria. If sum_range
is omitted, the cells in range are summed.

Remark

Microsoft Excel provides additional functions that can be used to analyze
your data based on a condition. For example, to count the number of
occurrences of a string of text or a number within a range of cells, use the
COUNTIF function. To have a formula return one of two values based on a
condition, such as a sales bonus based on a specified sales amount, use the
IF worksheet function. Learn about calculating a value based on a condition.

Example

Suppose A1:A4 contain the following property values for four homes:
$100,000, $200,000, $300,000, $400,000, respectively. B1:B4 contain the
following sales commissions on each of the corresponding property values:
$7,000, $14,000, $21,000, $28,000.

SUMIF(A1:A4,"160000",B1:B4) equals $63,000

Eva


"Bill_S" wrote:

On sheet A I have an accounting-style worksheet with the category heading in
bold (column A) and then the list of itemized expenses with a total at the
bottom (labels in column A, figures in column B.) Then another category
follows laid out the same way and another, etc.

On sheet B I have a list of all the category names next to which I need to
show the totals of each category (from sheet A.) I assume a lookup function
or functions would be used but I don't know how to structure the formula to
match on the category name in sheet A and then follow down to the total row
and return the total figure in the cell in column B.


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
How do I change sheet notation from R1C1 style to A1 style in XL 2 Sherlock1506 Setting up and Configuration of Excel 1 December 5th 06 03:22 PM
Changing from format style to list style B.W. Excel Worksheet Functions 1 November 22nd 06 07:53 PM
VLOOKUP specific monthly accounting data by selecting drop down li Toni Excel Worksheet Functions 2 June 5th 06 09:39 PM
Dollar sign alignment - Accounting vs Currency style MikeC Excel Discussion (Misc queries) 3 March 23rd 06 06:18 PM
Accounting Style Number Button Sabine Excel Worksheet Functions 3 February 2nd 05 05:25 PM


All times are GMT +1. The time now is 03:29 AM.

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

About Us

"It's about Microsoft Excel"