EXCEL FORMATING HELP
Discussion
I am trying to write a conditional formula.
I don't think Vlookups will work as I want to look at data in multiple columns.
SUMIF($C$3,'241115'!O3,'241115'!K3)+SUMIF($C$3,'241115'!O4,'241115'!K4)
So my check vale is $C$3, matching in column O returns K if match. All good.
I then want to run down the columns and if the result of O4 match $C$3 return K4.
Can I do this without adding another sum and changing the O & K? I have pages and pages of data i want to drill into
I don't think Vlookups will work as I want to look at data in multiple columns.
SUMIF($C$3,'241115'!O3,'241115'!K3)+SUMIF($C$3,'241115'!O4,'241115'!K4)
So my check vale is $C$3, matching in column O returns K if match. All good.
I then want to run down the columns and if the result of O4 match $C$3 return K4.
Can I do this without adding another sum and changing the O & K? I have pages and pages of data i want to drill into

Not sure what you're trying to achieve because nothing in the text relates to formatting, but try this formula, replacing "999" with the last row in which you have entries for columns "O" and "K":
=SUMPRODUCT(($C$3='241115'!O3:O999)*('241115'!K3:K999))
Edited:
Just re-read your post and I think your SUMIF was a red herring!
I think you just want a column of values in column K, but only if the corresponding value in column O, is equal to the value in C3
=IF($C$3='241115'!O3,'241115'!K3,"")
"" will give no value. Depending on type of data and what you're doing with it, replace "" with zero.
=SUMPRODUCT(($C$3='241115'!O3:O999)*('241115'!K3:K999))
Edited:
Just re-read your post and I think your SUMIF was a red herring!
I think you just want a column of values in column K, but only if the corresponding value in column O, is equal to the value in C3
=IF($C$3='241115'!O3,'241115'!K3,"")
"" will give no value. Depending on type of data and what you're doing with it, replace "" with zero.
Edited by sideways sid on Thursday 6th June 14:27
Gassing Station | Computers, Gadgets & Stuff | Top of Page | What's New | My Stuff



should have wrote formulas 