Offset Match condition

Sahitya

New Member
Joined
May 29, 2018
Messages
27
My output should have both the fruits which have value as true.

For eg: For third row, Apple, Orange and Watermelon has the value as "True", but it is returning only first value.

Formula i have used : =IFERROR(OFFSET([@Apple],[@[Offset Tower]],MATCH(TRUE,Table2[@[Apple]:[pineapple]],0)-1),"")


AppleOrangeBananaWatermelonpineappleOffset TowerOutput
FALSETRUEFALSEFALSEFALSE-1Orange
FALSEFALSEFALSEFALSETRUE-2pineapple
TRUETRUEFALSETRUEFALSE-3Apple
FALSETRUEFALSEFALSEFALSE-4Orange
FALSEFALSETRUEFALSEFALSE-5Banana
FALSEFALSEFALSETRUETRUE-6Watermelon

<colgroup><col><col span="2"><col><col><col><col></colgroup><tbody>
</tbody>
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
Hi,

There is no native function which can concatenate multiple values in a single cell. You could either get the results in a horizontal multi-cell record or invoke a function written in VBA which constructs a single cell result. A VBA like solution can be found here


 
Upvote 0
You may try the following formula.

Enter the formula in H2

=IF(A2=TRUE,A$1&" ","")&IF(B2=TRUE,B$1&" ","")&IF(C2=TRUE,C$1&" ","")&IF(D2=TRUE,D$1&" ","")&IF(E2=TRUE,E$1&" ","")
 
Upvote 0

Forum statistics

Threads
1,214,892
Messages
6,122,112
Members
449,066
Latest member
Andyg666

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