#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 39
Default IF Statement

I have one row for each person for the following IF Statement to look at. Is
there a way to add a "lookup" to the IF Statement to look at a particular
person's information?

=IF('H:\Officer Automation Project\[TEMPLATE Off Mrt Summary Sheet
_04_30_09.xls]officer data'!$AV$4="y",'H:\Officer Automation
Project\[TEMPLATE Off Mrt Summary Sheet _04_30_09.xls]officer
data'!$AR$4,IF('H:\Officer Automation Project\[TEMPLATE Off Mrt Summary Sheet
_04_30_09.xls]officer data'!$BC$4="y",'H:\Officer Automation
Project\[TEMPLATE Off Mrt Summary Sheet _04_30_09.xls]officer
data'!$AY$4,IF('H:\Officer Automation Project\[TEMPLATE Off Mrt Summary Sheet
_04_30_09.xls]officer data'!$BJ$4="y",'H:\Officer Automation
Project\[TEMPLATE Off Mrt Summary Sheet _04_30_09.xls]officer
data'!$BF$4,"")))


  #2   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default IF Statement

I'm not sure, but examining your posted IF expression indicates that you want
to return the contents of a cell 4 cols to the left of where the first "y"
appears in row 4

Maybe you could be better served using a simpler index/match,
something like this, indicatively (change the path/filename to suit):
=INDEX('D:\Excel\[IF statement.xls]officer data'!4:4,
MATCH("y",'D:\Excel\[IF statement.xls]officer data'!4:4,0)-4)

Above helps in some way? Wave by clicking the YES button below
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:25,000 Files:300 Subscribers:70
xdemechanik
---
"Kiley" wrote:
I have one row for each person for the following IF Statement to look at. Is
there a way to add a "lookup" to the IF Statement to look at a particular
person's information?

=IF('H:\Officer Automation Project\[TEMPLATE Off Mrt Summary Sheet
_04_30_09.xls]officer data'!$AV$4="y",'H:\Officer Automation
Project\[TEMPLATE Off Mrt Summary Sheet _04_30_09.xls]officer
data'!$AR$4,IF('H:\Officer Automation Project\[TEMPLATE Off Mrt Summary Sheet
_04_30_09.xls]officer data'!$BC$4="y",'H:\Officer Automation
Project\[TEMPLATE Off Mrt Summary Sheet _04_30_09.xls]officer
data'!$AY$4,IF('H:\Officer Automation Project\[TEMPLATE Off Mrt Summary Sheet
_04_30_09.xls]officer data'!$BJ$4="y",'H:\Officer Automation
Project\[TEMPLATE Off Mrt Summary Sheet _04_30_09.xls]officer
data'!$BF$4,"")))


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
Embedding an OR statement in an IF statement efficiently Chatnoir11 Excel Discussion (Misc queries) 4 February 2nd 09 08:12 PM
SUMIF statement with AND statement Eric D Excel Discussion (Misc queries) 2 July 14th 08 07:24 PM
Can an If statement answer an If statement? M.A.Tyler Excel Discussion (Misc queries) 2 June 24th 07 04:14 AM
appending and IF statement to an existing IF statement spence Excel Worksheet Functions 1 February 28th 06 11:00 PM
If statement and Isblank statement Rodney C. Excel Worksheet Functions 0 January 18th 05 08:39 PM


All times are GMT +1. The time now is 06:51 PM.

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

About Us

"It's about Microsoft Excel"