Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 11-02-2016, 04:29 AM
tinfanide tinfanide is offline Cell value as Array Constants, how to sum them up? Windows 7 64bit Cell value as Array Constants, how to sum them up? Office 2010 32bit
Expert
Cell value as Array Constants, how to sum them up?
 
Join Date: Aug 2011
Posts: 312
tinfanide is on a distinguished road
Default Cell value as Array Constants, how to sum them up?

A
1 10
2 {1,2}

=SUM(A1:A2)
returns 11.

Is there any formula that returns 10 + 1 + 2 = 13?


Thanks!
Reply With Quote
  #2  
Old 11-02-2016, 06:32 AM
xor xor is offline Cell value as Array Constants, how to sum them up? Windows 10 Cell value as Array Constants, how to sum them up? Office 2016
Expert
 
Join Date: Oct 2015
Posts: 1,101
xor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to all
Default

How many elements in the array constant and how many digits can appear in each element. Is the array constant entered as a formula or as text?
Reply With Quote
  #3  
Old 11-02-2016, 07:09 AM
tinfanide tinfanide is offline Cell value as Array Constants, how to sum them up? Windows 7 64bit Cell value as Array Constants, how to sum them up? Office 2010 32bit
Expert
Cell value as Array Constants, how to sum them up?
 
Join Date: Aug 2011
Posts: 312
tinfanide is on a distinguished road
Default

Quote:
Originally Posted by xor View Post
How many elements in the array constant and how many digits can appear in each element. Is the array constant entered as a formula or as text?
As a formula.
Reply With Quote
  #4  
Old 11-02-2016, 08:01 AM
xor xor is offline Cell value as Array Constants, how to sum them up? Windows 10 Cell value as Array Constants, how to sum them up? Office 2016
Expert
 
Join Date: Oct 2015
Posts: 1,101
xor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to all
Default

Perhaps like the attached.
Attached Files
File Type: xlsm SumArrayConstant.xlsm (10.3 KB, 11 views)
Reply With Quote
  #5  
Old 11-02-2016, 08:15 AM
xor xor is offline Cell value as Array Constants, how to sum them up? Windows 10 Cell value as Array Constants, how to sum them up? Office 2016
Expert
 
Join Date: Oct 2015
Posts: 1,101
xor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to all
Default

First now I see now that you use Excel 2010 which did not have the function FORMULATEXT so you can't use my file.

I however you are very interested it may be possible to replace the FORMULATEXT function with a user defined function. Let me hear if you are interested.
Reply With Quote
  #6  
Old 11-08-2016, 02:16 AM
tinfanide tinfanide is offline Cell value as Array Constants, how to sum them up? Windows 7 64bit Cell value as Array Constants, how to sum them up? Office 2010 32bit
Expert
Cell value as Array Constants, how to sum them up?
 
Join Date: Aug 2011
Posts: 312
tinfanide is on a distinguished road
Default

@xor
Yes, a user-defined function sounds very interesting to me. Could you tell me a bit more? Thanks!
Reply With Quote
  #7  
Old 11-08-2016, 04:27 AM
xor xor is offline Cell value as Array Constants, how to sum them up? Windows 10 Cell value as Array Constants, how to sum them up? Office 2016
Expert
 
Join Date: Oct 2015
Posts: 1,101
xor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to all
Default

See the attached.
Attached Files
File Type: xlsm SumArrayConstant_2.xlsm (15.2 KB, 10 views)
Reply With Quote
  #8  
Old 11-09-2016, 07:05 AM
tinfanide tinfanide is offline Cell value as Array Constants, how to sum them up? Windows 7 64bit Cell value as Array Constants, how to sum them up? Office 2010 32bit
Expert
Cell value as Array Constants, how to sum them up?
 
Join Date: Aug 2011
Posts: 312
tinfanide is on a distinguished road
Default

@xor

Thanks. Studying it.
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cell value as Array Constants, how to sum them up? looking to persist and array or something vthomeschoolmom Word VBA 1 09-16-2015 02:12 PM
Insertbefore an array? help :( n00bie-n00b Word VBA 21 08-21-2014 08:03 PM
Cell value as Array Constants, how to sum them up? Convert String Array to Integer Array from a User Input? tinfanide Excel Programming 4 12-26-2012 08:56 PM
Cell value as Array Constants, how to sum them up? Complex array formula andrei Excel 9 02-03-2012 03:40 AM
Look up an array based on user input johnsmb Excel 2 01-07-2011 01:12 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 02:41 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft