Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15
Default Adding data to create ranges

Perfect! Thanks so much!
--
Jodie Gardner


"Elkar" wrote:

Ah yes, I didn't condiser that. Its a simple fix though.

=IF(OR(A1="",A1=0),"",SUM($A$1:A1)-A1+1&IF(A1=1,""," - "&SUM($A$1:A1)))

HTH,
Elkar

"jodieg" wrote:

Thank you!
The formula worked for cells that had values greater than zero. (Yeah!!)
Is there a way I can get the result to leave a blank cell if the value is
zero?
--
Jodie Gardner


"Elkar" wrote:

Try this formula:

=IF(A1="","",SUM($A$1:A1)-A1+1&IF(A1=1,""," - "&SUM($A$1:A1)))

Copy down as needed.

HTH,
Elkar


"jodieg" wrote:

Hello!
I want to calculate the number of bagtags in my excel sheet and have the
result come out in ranges. Can you please help me create a formula for this?
Note: a cell may also have a value of 0. I would like the formula to
result in a blank cell when the value is zero.
Sample:
Would like formula to create range
Sacks Bagtags
24 1-24
1 25
6 26-31
27 32-58
5 59-63
5 64-68
5 69-73
32 74-105
1 106
--
Thanks!
Jodie Gardner

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
adding numbers that contain ranges Fyrfytr Excel Worksheet Functions 3 September 21st 06 08:52 AM
Adding Non-Contiguous Ranges COE Excel Discussion (Misc queries) 11 January 24th 06 11:43 PM
adding ranges [email protected] Excel Discussion (Misc queries) 2 November 21st 05 04:22 PM
How do I create a rolling average chart, adding most recent data? Doug@NxEdge Charts and Charting in Excel 1 November 5th 05 02:22 AM
adding named ranges Mike EHB-Docks New Users to Excel 7 April 8th 05 01:53 PM


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