AStereotypicalGamer
New Member
- Joined
- Dec 5, 2016
- Messages
- 4
So currently I have multiple columns of functions in order to pull data over from another sheet. I am looking for a way to spin it a different way and also cut down on the # of columns i have in my current sheet.
Takes entry from Column A and finds it on VIP31 sheet. If the cooresponding value in Column H on the VIP31 sheet is Security it does the math if not returns FALSE.
Takes entry from Column A and finds on the VIP31 sheet. If column E is Category D or Category E it does the math, otherwise returns False.
Is there a way to make one that will take the entry from Column A, vlook it up and see if Category D (Column E on "VIP31") AND if it is "Enterprise Networks" OR "Meraki" (Column H on "VIP31") Something like the below (i know its not right - otherwise i wouldn't be asking haha )
thanks,
Takes entry from Column A and finds it on VIP31 sheet. If the cooresponding value in Column H on the VIP31 sheet is Security it does the math if not returns FALSE.
Code:
=IF(VLOOKUP($A5:$A5,'VIP31'!$A:$H,8,FALSE)="Enterprise Networks",(($F5*(VLOOKUP($A5,'VIP31'!$A:$B,2,0)%)*1%)))
Takes entry from Column A and finds on the VIP31 sheet. If column E is Category D or Category E it does the math, otherwise returns False.
Code:
=IF(OR(VLOOKUP($A4:$A4,'VIP31'!$A:$E,5,FALSE)="Category D",VLOOKUP($A4:$A4,'VIP31'!$A:$E,5,FALSE)="Category E"),(($F4*(VLOOKUP($A4,'VIP31'!$A:$B,2,0)%)*1%)))
Is there a way to make one that will take the entry from Column A, vlook it up and see if Category D (Column E on "VIP31") AND if it is "Enterprise Networks" OR "Meraki" (Column H on "VIP31") Something like the below (i know its not right - otherwise i wouldn't be asking haha )
Code:
=IF(AND((VLOOKUP($A4:$A4,'VIP31'!$A:$E,5,FALSE)="Category D")OR(VLOOKUP($A5:$A5,'VIP31'!$A:$H,8,FALSE)="Enterprise Networks",(VLOOKUP($A5:$A5,'VIP31'!$A:$H,8,FALSE)="Meraki",(($F4*(VLOOKUP($A4,'VIP31'!$A:$B,2,0)%)*1%)))
thanks,