Offset spilled formula almost works... but not

ED38

New Member
Joined
Mar 29, 2024
Messages
26
Office Version
  1. 365
Platform
  1. Windows
Hi,
debuging a formula, i realized the following formula looks like doing the job (when I select it and fly over with the mouse) whereas when entered separeately in a cell, a list of value is shown:
1722440516008.png

1722440784360.png

EE5# is a vertical list of numbers

Could anyone help to understand the issue here?
thank you
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
What exactly are you trying to do?
 
Upvote 0
Besides @Fluff's question, I would note that not one cell referenced in your formula (perhaps with the exception of the table reference, but that is not clear) is shown in your picture, so there is no way for us to test anything for you.
 
Upvote 0
Hi both, thank you for offering your help.
let me try to explain:
for each value in the EE5# list (vertical), I need to find the matching value in the cost v0,95 tab : seqrching in col 'O' and get the matching value in column 'R'

2024-07-30 Tier pricing revenue impact analysis-LRC specific-cost v0.95.xlsx
OPQR
25VUVUHTenant profiles per quantity
260$0
271$0
28130Nano $100
2930501Small$500
301015001Medium$1 500
3199999999999999Large $3 000
Cost v0,95


If it may impacct the way to build this formula, this one is a portion of a larger spilled formula...

thank you
 
Upvote 0
Maybe
Excel Formula:
=XLOOKUP(EE5#,'cost v0,95'!O28:O31,'cost v0,95'!R28:R31,"",-1)
 
Upvote 0
Solution
Once again Thank you Fluff, xlookup is a better option and solve my issue.

However, for my understanding and "excel culture", would you know why my formula did not work and why the expected result was shown when flying over the formula but deliver a set of 'value#' error in fact?
Have a nice day.
 
Upvote 0
I don't think that Offset can handle an array.
 
Upvote 0
Hi Fluff,

Just to let you know I successfully used 'offset' in array mode. Here are 2 samples in the red cell for reference. It do work correctly
if I can help in turn! ;-)

Book5
ABCDEFGHIJ
1
2
3
4VDS Cumul Disc.Total priceRequired intermediate calc for SLAB (incremental value)
5124 96001024 96024 9600
611249 60010110,0%274 560249 6001
71220 592111217,5%295 15220 59210
826288 288252617,5%583 440288 28811
92716 848262732,5%600 28816 84812
1051404 352505132,5%1 004 640404 35225
115213 728515245,0%1 018 36813 72826
1281398 112808145,0%1 416 480398 11227
138211 232818255,0%1 427 71211 23250
1410 000########999910 00055,0%112 826 687111 398 97551
1552
1680
1781
1882
199999
2010000
Sheet1
Cell Formulas
RangeFormula
C5:C14C5=D5#-1
D5:D14D5=A5:A14
F5:F14F5=SUBTOTAL(9,OFFSET(G5#,0,0,ROW(D5#)-ROW(D$5)+1,))
G5:G14G5=B5:B14
J5:J20J5=SORT(UNIQUE(VSTACK(D5#,OFFSET(D5#,0,-1,,))))
Dynamic array formulas.
Cells with Conditional Formatting
CellConditionCell FormatStop If True
B5:B14Expression=B5=FALSEtextNO
A5:A14Expression=A5=FALSEtextNO
F5:F14Expression=F5=FALSEtextNO
D5:E14,G5:G14Expression=D5=FALSEtextNO
 
Upvote 0
D5# & G5# are ranges, not an arrays. That's why it works.
 
Upvote 0

Forum statistics

Threads
1,224,132
Messages
6,176,547
Members
452,735
Latest member
CristianCaruceriu

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