Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
JAC JAC is offline
external usenet poster
 
Posts: 15
Default Vlookup and HLookup Issue

I currently have this formula on my main sheet today:

=IF(ISNA(VLOOKUP($B6,prin_received_091807.xls!$A$8 :$H$98,3,FALSE)),0,(VLOOKUP($B6,prin_received_0918 07.xls!$A$8:$H$98,3,FALSE)))

My issue is that on my prin_received sheet I do not always have the same
columns. So I basically want to do an if then statement.

If week1 (column heading on sheet a) matches week 1 (column heading on sheet
b) then do the vlookup else output zero.

I am not sure where to go from here so any help is appreciated.

Jonette
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Vlookup and HLookup Issue

Maybe you could use combination of =index() and a couple of =match()'s.

Take a look at Debra Dalgleish's notes:
http://www.contextures.com/xlFunctions03.html
Especially examples 2 and 3.


JAC wrote:

I currently have this formula on my main sheet today:

=IF(ISNA(VLOOKUP($B6,prin_received_091807.xls!$A$8 :$H$98,3,FALSE)),0,(VLOOKUP($B6,prin_received_0918 07.xls!$A$8:$H$98,3,FALSE)))

My issue is that on my prin_received sheet I do not always have the same
columns. So I basically want to do an if then statement.

If week1 (column heading on sheet a) matches week 1 (column heading on sheet
b) then do the vlookup else output zero.

I am not sure where to go from here so any help is appreciated.

Jonette


--

Dave Peterson
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
VLookup - HLookup Clara Excel Discussion (Misc queries) 2 August 30th 07 05:14 PM
Vlookup & hlookup Aitchy Excel Worksheet Functions 3 May 29th 07 05:10 AM
USING VLOOKUP AND HLOOKUP glenn Excel Discussion (Misc queries) 1 September 9th 06 06:10 PM
Vlookup and Hlookup Phlogiston2312 Excel Worksheet Functions 1 April 21st 05 04:59 PM
Vlookup and Hlookup Phlogiston2312 Excel Worksheet Functions 2 April 20th 05 05:09 PM


All times are GMT +1. The time now is 01:02 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"