#1   Report Post  
Jeff
 
Posts: n/a
Default If Statement

I need help on an existing VBA formula:

In my spreadsheet Conversion Validation Template Billable Jobs row J3.
I want to do a vlookup on J3 that would look up the value in D3 in a
Table_Array spreadsheet VBAP Col_Index_Num #3 IF AND ONLY IF the value in
rows of column B is: PY.

--
Regards,
Jeff

  #2   Report Post  
Vacation's Over
 
Posts: n/a
Default

dim mycell as range

for each mycell in range(Cells(1,2), cells(1,2).end(xldown)")

if mycell.value = "PY" then

"CODE HERE "

end if
next mycell

"Jeff" wrote:

I need help on an existing VBA formula:

In my spreadsheet Conversion Validation Template Billable Jobs row J3.
I want to do a vlookup on J3 that would look up the value in D3 in a
Table_Array spreadsheet VBAP Col_Index_Num #3 IF AND ONLY IF the value in
rows of column B is: PY.

--
Regards,
Jeff

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
If statement Matt Montagliano Excel Discussion (Misc queries) 1 September 8th 05 08:47 PM
Do I need a sumif or sum of a vlookup formula? PeterB Excel Worksheet Functions 0 June 1st 05 12:23 PM
How to calculate a sum as one outcome of an IF statement barb in NC Excel Worksheet Functions 2 March 31st 05 08:01 PM
7+ nested if statement? Turi Excel Worksheet Functions 3 December 20th 04 07:55 PM
Statement lintan Excel Worksheet Functions 1 December 2nd 04 11:31 PM


All times are GMT +1. The time now is 02:42 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"