Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 29
Default sumif based on last digit of account list




=SUM((RIGHT(C6:C9,1)="1")*D6:D9)
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 964
Default sumif based on last digit of account list

Try this:

=SUM(IF(RIGHT(C6:C9,1)="1",D6:D9,0))

This is an array formula and should be entered with CTRL-SHIFT-ENTER instead
of just Enter. If done properly, the formula should be surrounded by { }

Or, another option:

=SUMPRODUCT(--(RIGHT(C6:C9,1)="1",(D6:D9))

HTH,
Elkar


"Ted Metro" wrote:




=SUM((RIGHT(C6:C9,1)="1")*D6:D9)

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
Need to convert list of 5 digit zip codes to ranges where possible Mel07 Excel Worksheet Functions 3 March 14th 06 11:43 PM
How do move folders from web based email account to outlook? Tracy Excel Discussion (Misc queries) 1 November 18th 05 08:33 PM
sort numbers based on initial digit. Andyd Excel Discussion (Misc queries) 2 June 28th 05 01:20 PM
I wish to change the last digit in a list of random numbers. To a. kingie Excel Worksheet Functions 5 February 28th 05 08:17 PM
How do I setup a list box that has several account numbers so use. Jackie Excel Worksheet Functions 1 November 8th 04 07:03 PM


All times are GMT +1. The time now is 01:13 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"