
AYANNA HARRIS
Active Member
Members

Forum Posts: 3
Member Since:
July 1, 2023
July 1, 2023

Hello,
I'm noticing that the Vlookup is returning the 'income' for my category type but not the 'expense' for my category type even though they are in the same table and column and referencing the correct column index.
I am using Excel 2016 on PC.
Thank you for your help

Mynda Treacy
Admin

Forum Posts: 4614
Member Since:
July 16, 2010
July 16, 2010

Hi Ayanna,
VLOOKUP only looks up the first column in the 'lookup_array'. It works for Salary because you have Salary in both the Sub-category and the Category columns of the lookup_array.
You need to change the formula to:
=VLOOKUP([@Category],TblDV[[Category]:[Category Type]],2,FALSE)
Mynda

Answers Post
Forum Timezone: Australia/Brisbane
Most Users Ever Online: 245
Currently Online: Charlotte Holloway, Lorna Henning, Shoua Lee, Mohamed Touahria
Guest(s) 11
Currently Browsing this Page:
1 Guest(s)
1 Guest(s)
Top Posters:
SunnyKow: 1432
Anders Sehlstedt: 880
Purfleet: 414
Frans Visser: 346
David_Ng: 306
lea cohen: 237
Jessica Stewart: 219
A.Maurizio: 213
Aye Mu: 201
jaryszek: 183
Newest Members:
David von Kleek
Ronald White
Ginette Guevremont
Taryn Ambrosi
Mark Davenport
Christy Nichols
Harald Endres
Ashley Hughes
Herbie Key
Trevor Pindling
Forum Stats:
Groups: 3
Forums: 24
Topics: 6528
Posts: 28594
Member Stats:
Guest Posters: 49
Members: 32817
Moderators: 2
Admins: 4
Administrators: Mynda Treacy, Philip Treacy, Catalin Bombea, FT
Moderators: Velouria, Riny van Eekelen
© Simple:Press —
