#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 226
Default Criteria

The function below works
Answer = .SumIfs(Range("B1:B100"),Range("A1:A100"),"300")

Criteria Column Column To Sum
£233.56 £5000
£266.89 £6000
£455.91 £8000
etc

Answer = £6000

How would I write the criteria to sum entries where the adjacent value ends
in 88p or more - I have tried many different ways using wils cards etc but
none of them work. Thankyou in anticipation
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 523
Default Criteria

Type this:

=SUM(IF(A1:A100-INT(A1:A100)0.88,B1:B100,0))

but use Ctrl + Shift + Enter rather than just enter after you've typed it.

Sam

"Roger" wrote:

The function below works
Answer = .SumIfs(Range("B1:B100"),Range("A1:A100"),"300")

Criteria Column Column To Sum
£233.56 £5000
£266.89 £6000
£455.91 £8000
etc

Answer = £6000

How would I write the criteria to sum entries where the adjacent value ends
in 88p or more - I have tried many different ways using wils cards etc but
none of them work. Thankyou in anticipation

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8,520
Default Criteria

Hi Roger

Try the below....But what about whole numbers...eg: 266.00

Criteria Column Column To Sum
$233.50 $5,000.00
$266.88 $6,000.00
$455.88 $8,000.00

=SUMPRODUCT(--(TEXT(MOD(A2:A4,1)*100,"00")+0=88),B2:B4)

If this post helps click Yes
---------------
Jacob Skaria


"Roger" wrote:

The function below works
Answer = .SumIfs(Range("B1:B100"),Range("A1:A100"),"300")

Criteria Column Column To Sum
£233.56 £5000
£266.89 £6000
£455.91 £8000
etc

Answer = £6000

How would I write the criteria to sum entries where the adjacent value ends
in 88p or more - I have tried many different ways using wils cards etc but
none of them work. Thankyou in anticipation

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8,520
Default Criteria

If you mean the entries in Col A are =0.88 then try

=SUMPRODUCT(--(A2:A4=0.88),B2:B4)

If this post helps click Yes
---------------
Jacob Skaria


"Jacob Skaria" wrote:

Hi Roger

Try the below....But what about whole numbers...eg: 266.00

Criteria Column Column To Sum
$233.50 $5,000.00
$266.88 $6,000.00
$455.88 $8,000.00

=SUMPRODUCT(--(TEXT(MOD(A2:A4,1)*100,"00")+0=88),B2:B4)

If this post helps click Yes
---------------
Jacob Skaria


"Roger" wrote:

The function below works
Answer = .SumIfs(Range("B1:B100"),Range("A1:A100"),"300")

Criteria Column Column To Sum
£233.56 £5000
£266.89 £6000
£455.91 £8000
etc

Answer = £6000

How would I write the criteria to sum entries where the adjacent value ends
in 88p or more - I have tried many different ways using wils cards etc but
none of them work. Thankyou in anticipation

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 226
Default Criteria

Thankyou for your suggestions - I will have a play

"Roger" wrote:

The function below works
Answer = .SumIfs(Range("B1:B100"),Range("A1:A100"),"300")

Criteria Column Column To Sum
£233.56 £5000
£266.89 £6000
£455.91 £8000
etc

Answer = £6000

How would I write the criteria to sum entries where the adjacent value ends
in 88p or more - I have tried many different ways using wils cards etc but
none of them work. Thankyou in anticipation

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
Count how many criteria in a column match criteria in another colu Charles Stover Excel Discussion (Misc queries) 3 March 6th 09 08:39 PM
Selection.AutoFilter Field / Criteria = criteria sometimes non-existing on worksheet markx Excel Programming 1 November 24th 06 02:52 PM
Counting Cells with multiple criteria.One criteria supporting wild Azhar Saleem Excel Worksheet Functions 1 January 12th 05 10:54 AM
Counting Cells with multiple criteria.One criteria supporting wild Azhar Arain Excel Worksheet Functions 1 January 12th 05 08:33 AM
have input box. Need criteria entered to refer to cond. format criteria Bob Phillips[_6_] Excel Programming 0 March 1st 04 08:17 PM


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