Difference in answers

rfdryden

New Member
Joined
Mar 9, 2002
Messages
1
the following formula:
=IF(B130<>"",MAXA(LEN('Data Sheet'!DY2:DY65536)),"")
produces the answer 6 in the formula palate.
it produces the answer 1 in the cell.
I am trying to determine the maximun width of a range of cells containing both numerical and text data.
Any Suggestions
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
On 2002-03-10 20:15, rfdryden wrote:
the following formula:
=IF(B130<>"",MAXA(LEN('Data Sheet'!DY2:DY65536)),"")
produces the answer 6 in the formula palate.
it produces the answer 1 in the cell.
I am trying to determine the maximun width of a range of cells containing both numerical and text data.
Any Suggestions

The formula builder evaluates your formula as an array formula and shows the result of applying MAXA on a constant array. If you want to get the same result as the formula builder, hit control+shift+enter at the same time - not just enter - to enter your formula. By the way, you are computing a max of lengths, so MAX instead of MAXA would be just as good and less confusing.
 
Upvote 0

Forum statistics

Threads
1,214,611
Messages
6,120,509
Members
448,967
Latest member
screechyboy79

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top