guernica52
New Member
- Joined
- May 3, 2016
- Messages
- 4
Hi Guys,
I have a keyword data dump that has 2 of every keyword (one has data for desktops, one has data for smartphones)
I would like to write a vlookup formula that will first check if the keyword is "desktop". If so, pull the corresponding rank (which would skip over the smartphone rows).
I actually wrote this formula a while ago (lost it now) and it just combined a simple vlookup and if statement. Any help with this formula below would be really appreciated.
client facing tab
[TABLE="width: 500"]
<tbody>[TR]
[TD]KEYWORD[/TD]
[TD]GOOGLE DESKTOP RANK[/TD]
[TD]GOOGLE MOBILE RANK[/TD]
[/TR]
[TR]
[TD]shoes[/TD]
[TD][if shoes lines up with "desktop", pull the corresponding google rank][/TD]
[TD][if shoes lines up with "smartphone", pull the corresponding google rank[/TD]
[/TR]
[TR]
[TD]mens shoes[/TD]
[TD]""[/TD]
[TD]""[/TD]
[/TR]
</tbody>[/TABLE]
raw data tab
[TABLE="width: 500"]
<tbody>[TR]
[TD]KEYWORD[/TD]
[TD]DEVICE[/TD]
[TD]GOOGLE RANK[/TD]
[/TR]
[TR]
[TD]shoes[/TD]
[TD]desktop[/TD]
[TD]5[/TD]
[/TR]
[TR]
[TD]shoes[/TD]
[TD]smartphone[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]mens shoes[/TD]
[TD]desktop[/TD]
[TD]8[/TD]
[/TR]
[TR]
[TD]mens shoes[/TD]
[TD]smartphone[/TD]
[TD]9[/TD]
[/TR]
</tbody>[/TABLE]
I have a keyword data dump that has 2 of every keyword (one has data for desktops, one has data for smartphones)
I would like to write a vlookup formula that will first check if the keyword is "desktop". If so, pull the corresponding rank (which would skip over the smartphone rows).
I actually wrote this formula a while ago (lost it now) and it just combined a simple vlookup and if statement. Any help with this formula below would be really appreciated.
client facing tab
[TABLE="width: 500"]
<tbody>[TR]
[TD]KEYWORD[/TD]
[TD]GOOGLE DESKTOP RANK[/TD]
[TD]GOOGLE MOBILE RANK[/TD]
[/TR]
[TR]
[TD]shoes[/TD]
[TD][if shoes lines up with "desktop", pull the corresponding google rank][/TD]
[TD][if shoes lines up with "smartphone", pull the corresponding google rank[/TD]
[/TR]
[TR]
[TD]mens shoes[/TD]
[TD]""[/TD]
[TD]""[/TD]
[/TR]
</tbody>[/TABLE]
raw data tab
[TABLE="width: 500"]
<tbody>[TR]
[TD]KEYWORD[/TD]
[TD]DEVICE[/TD]
[TD]GOOGLE RANK[/TD]
[/TR]
[TR]
[TD]shoes[/TD]
[TD]desktop[/TD]
[TD]5[/TD]
[/TR]
[TR]
[TD]shoes[/TD]
[TD]smartphone[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]mens shoes[/TD]
[TD]desktop[/TD]
[TD]8[/TD]
[/TR]
[TR]
[TD]mens shoes[/TD]
[TD]smartphone[/TD]
[TD]9[/TD]
[/TR]
</tbody>[/TABLE]