LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.excel.misc,microsoft.public.excel.programming,microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,346
Default Getting #ref error after row / cell is this a limit in excel 2

I'm not following how this ties back the the first question.

=INDEX($D$3:$D$62,2*ROWS($1:31)+COLUMNS($D:D)-2)

Your index range is fixed to the range D3:D62 so your last row cannot exceed
62.

2*31=62 fine, but you are then adding the value of the columns which range
from 2 (D-2) up as your move to the right. So the smallest value for the
COLUMNS($D:D)-2 is 2. 2*31+2=64 but your index range is a max of 62, hense
Excel return REF. FYI - unrelated, change the last argument to COLUMNS($B:B)
and drop the -2, this won't correct your REF problem, its just an improvement
to you overall concept.

Regarding your new question:
Formatting has nothing to do with rounding, it is purely a display issue.
So the question is what do each of these do?:
=Sum(INT(D3:J3)) i get a value of 11????
This should give an error if not entered as an array. And if entered as an
array it should give 11. The INT function returns the integer of each of the
number and then the SUM kicks in. Maybe you should use =INT(SUM(D3:J3)) But
that would return 14.
if I use = Sum(ABS(D3:J3)) i get the value of 14.4 Again you should get an
error if you don't enter this as an array. But ABS is designed to convert
negative numbers to positive and leave the positive number unchanged, and
that is not relevant here.

If I use =Sum(VALUE(D3:J3)) I get a value of 14 You need to read the help
system on this function like the others. It has no relevance in you case.

Now the real question is what are you trying to do. If you want 15 it
sounds like you want ROUNDUP

=ROUNDUP(SUM(D3:J3),0)

non-array.
--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"Ali" wrote:

Hi Mike
If I set the Format of the cells to be 'Number" with 2 decimals values a
3.22 / 3.61 / 2.74 / 2.78 / 1.00 / 0.79 Sums = 14.14

If I set the Format to Custom and use _(*#,##0);(#,##0);(*"-"?? etc
values become:

3 / 4 / 3 / 3 / 1 / 1 ( I would like value to reflect 15)
If i use =Sum(INT(D3:J3)) i get a value of 11????
if I use = Sum(ABS(D3:J3)) i get the value of 14.4
If I use =Sum(VALUE(D3:J3)) I get a value of 14

But I cannot seem to get a value of 15. thanks


"please_post_to_groups" wrote:

Greetings All

sorry if this the second post the first one never made it through...gremlins in the system

Im getting a strange #ref error message in excel and Im not sure
why. Everything works great up to cell and row. but when I get past
that the #ref error pops up. Is this a limit to excel 2003? Anyone
have any workarounds or recommendations?

The code I start to get the error at is =INDEX($D$3:$D$62,2*ROWS
($1:31)+COLUMNS($D:D)-2)

An image can be found at http://test.onewithall.net/problem/excel_problem.jpg
or the Excel file can be found at is http://test.onewithall.net/problem/excel_problem.xls

Tia sal2

 
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
Getting #ref error after row / cell is this a limit in excel 2003 tiasal2 [email protected] Excel Discussion (Misc queries) 2 March 20th 09 04:55 PM
Getting #ref error after row / cell is this a limit in excel 2003 tiasal2 [email protected] Excel Worksheet Functions 2 March 20th 09 04:55 PM
Cell formatting error, Excel 2003 Sven Pran Excel Discussion (Misc queries) 3 January 22nd 09 05:27 PM
Strange 'protected cell' error affecting Excel 2003 but not Excel 2000? Pheasant Pluckerョ Excel Discussion (Misc queries) 1 April 10th 07 01:04 PM
Too Many Different Cell Format error in Excel 2003 jkimball Excel Discussion (Misc queries) 1 July 24th 06 05:59 PM


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