• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Help in "If" Formula to select specific value

Hello - My first post in this forum
In the attached file, it looks like I am missing something in the formula in column L.
In column L, I just need to get to a single value based on Column K and Column F as inputs. The output should be One single number from column C.
Formula used in column L is IF(AND(($A$3:$A$585=$K3)*($B$3:$B$585=$F3)),"",($C$3:$C$585)).
Manually, I have created what the output should look like in column H and J.
Instead, I am getting an array in column L.
Thank you in advance.

ABCDEFGHIJKLMN
ParameterDateOutputDateParameterOutputParameterOutputParameterOutputParameterOutput
12-Mar-232092-Mar-231209220432094
22-Mar-232043-Mar-231211220432044
32-Mar-232074-Mar-231232074
42-Mar-232095-Mar-231232094
52-Mar-232106-Mar-231209220532104
62-Mar-232067-Mar-231210220532064
72-Mar-232108-Mar-231208220632104
82-Mar-232059-Mar-231210220832054
92-Mar-2320810-Mar-231207220332084
102-Mar-2320711-Mar-231232074
112-Mar-2320812-Mar-231232084
13-Mar-2321113-Mar-231232114
23-Mar-2320414-Mar-231232044
33-Mar-2320715-Mar-231209220532074
43-Mar-2320916-Mar-231208220532094
53-Mar-2320917-Mar-231208220732094
63-Mar-2320218-Mar-231232024
73-Mar-2321119-Mar-231232114
83-Mar-23204204
93-Mar-23208208
103-Mar-23206206
113-Mar-23209209
16-Mar-23209209
26-Mar-23205205
36-Mar-23209209
46-Mar-23208208
56-Mar-23212212
66-Mar-23205205
76-Mar-23209209
86-Mar-23205205
96-Mar-23207207
106-Mar-23208208
116-Mar-23204204
17-Mar-23210210
27-Mar-23205205
37-Mar-23209209
47-Mar-23209209
57-Mar-23211211
67-Mar-23207207
77-Mar-23209209
87-Mar-23204204
97-Mar-23209209
107-Mar-23208208
117-Mar-23207207
18-Mar-23208208
28-Mar-23206206
38-Mar-23209209
48-Mar-23210210
58-Mar-23212212
 
not sure i follow what you are trying to so
IF(AND(($A$3:$A$585=$K3)*($B$3:$B$585=$F3)),"",($C$3:$C$585)).

($A$3:$A$585=$K3)
this is an array of values you are testing , and then the False value is
($C$3:$C$585)
and so again an Array

can you perhaps explain what values you want on column L and how they are worked out - rather than a formula that does not work
 
Try

In Cell L3 formula copied down:

=IF(F3="","",IFERROR(LOOKUP(1,0/(A$3:A$585=K3)/(B$3:B$585=F3),C$3:C$585),""))

or

=IF(F3="","",SUMIFS(C:C,A:A,K3,B:B,F3))
 
Back
Top