Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Formula to show =500 but +<1000 in one column

I can find a formula to calculate one, but not both - can anyone help? Many
thanks.
--
In need of help.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,501
Default Formula to show =500 but +<1000 in one column

What do you mean to 'show' numbers? add them up?

Try this

=SUMPRODUCT((A1:A20=500)*(A1:A20<=1000)*(A1:A20))

Mike

"rahji" wrote:

I can find a formula to calculate one, but not both - can anyone help? Many
thanks.
--
In need of help.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,355
Default Formula to show =500 but +<1000 in one column

Your question is open to some interpretation. You may want something like this

=IF(AND(A1=500,A1<1000),A1,NA())


--
HTH,
Barb Reinhardt

If this post was helpful to you, please click YES below.



"rahji" wrote:

I can find a formula to calculate one, but not both - can anyone help? Many
thanks.
--
In need of help.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Formula to show =500 but +<1000 in one column

Thanks Mike - I have a list of numbers, and I want to have a total of numbers
over 500 but less than 1000.
--
In need of help.


"Mike H" wrote:

What do you mean to 'show' numbers? add them up?

Try this

=SUMPRODUCT((A1:A20=500)*(A1:A20<=1000)*(A1:A20))

Mike

"rahji" wrote:

I can find a formula to calculate one, but not both - can anyone help? Many
thanks.
--
In need of help.

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
Formula for increasing a result to the next highest 1000 MZ New Users to Excel 2 January 5th 10 11:21 PM
copy formula down 1000,s of lines gfj Excel Worksheet Functions 2 November 5th 08 08:40 PM
Duplicate a Formula in 1000 Spreadsheets stratis Excel Programming 7 August 10th 07 09:10 PM
1000+$K$5/1000 -what does $ indicate in formula Coolbhims Excel Worksheet Functions 1 March 16th 06 11:51 AM
Need macro to updated column C's width on 1000+ workbooks. ChatsworthWL Excel Programming 0 August 3rd 05 07:25 PM


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