ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   IF Statement (https://www.excelbanter.com/excel-discussion-misc-queries/231424-if-statement.html)

Kiley

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,"")))



Max

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,"")))




All times are GMT +1. The time now is 12:14 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com