Using the text from another cell to in a part of a array

castropereira

New Member
Joined
May 8, 2019
Messages
1
I have a table with some values that i want to sum according the year, name a store, and them according the current month...

(I want to sum the accumulated values since the beginning of the month)

I have a VLookup that gets me the text i want in the array:

4
4,5
4,5,6
4,5,6,7
4,5,6,7,8
4,5,6,7,8,9,10
4,5,6,7,8,9,10,11
4,5,6,7,8,9,10,11,12
4,5,6,7,8,9,10,11,12,13
4,5,6,7,8,9,10,11,12,13,14
4,5,6,7,8,9,10,11,12,13,14,15
4,5,6,7,8,9,10,11,12,13,14,15,16

<colgroup><col width="221" style="width: 166pt;"></colgroup><tbody>
</tbody>


And using a concatenate i get in the cell per. eg. F2 {[FONT=Arial, sans-serif]4,5,6,7,8,9,10,11,12}[/FONT]

[FONT=Arial, sans-serif]After getting this value i want to use it in my array:

[/FONT]=SUM(VLOOKUP(CONCATENATE(C2;C6);ORCAMENTOS!B:P;F2;FALSE))

By typing the value in F2 it all works by pressing ctr+shif+enter... with F2... no result...

i?m getting #ref as an error...

any helP
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.

steve the fish

Well-known Member
Joined
Oct 20, 2009
Messages
8,388
Office Version
  1. 365
Platform
  1. Windows
I stand to be corrected but i dont think you can do that with native formulas. I certainly dont know how if you can. If you numbers are always consecutive then there are other formulas you could use.
 

Norie

Well-known Member
Joined
Apr 28, 2004
Messages
76,278
Office Version
  1. 365
Platform
  1. Windows
If the months are consecutive then you should be able to do this in another way, perhaps using SUMIF/SUMIFS.
 

Watch MrExcel Video

Forum statistics

Threads
1,129,467
Messages
5,636,462
Members
416,919
Latest member
twc2c

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
Top