Output based on multiple criteria/columns

MagsinoAS

New Member
Joined
Sep 28, 2011
Messages
20
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
OrderApppleOrangeLemonNoneNullProdType
1AppleApple
2AppleNoneNullApple
3AppleOrangeMultiple
4NoneNullNo ProdType
5LemonNoneNullLemon
6NoneNo ProdType
7AppleOrangeLemonNoneNullMultiple
8NullNo ProdType

<tbody>
</tbody>















Based on the following criterias, I need a formula to get the ProdType.
Thanks for in advance.





<attachment></attachment><attachment></attachment>
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
A
B
C
D
E
F
G
1
OrderApppleOrangeLemonNoneNullProdType
2
1​
AppleApple
3
2​
AppleNoneNullApple
4
3​
AppleOrangeMultiple
5
4​
NoneNullNo ProdType
6
5​
LemonNoneNullLemon
7
6​
NoneNo ProdType
8
7​
AppleOrangeLemonNoneNullMultiple
9
8​
NullNo ProdType
Sheet: Sheet71

Array formula in cell G2:
=IF(COUNTIF(B2:D2,"<>")=0,"No ProdType",IF(COUNTIF(B2:D2,"<>")>1,"Multiple",INDEX(B2:D2,MATCH(TRUE,B2:D2<>"",0))))
 
Last edited:
Upvote 0

Forum statistics

Threads
1,215,492
Messages
6,125,115
Members
449,206
Latest member
burgsrus

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