#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default formula

I wa wondering if you can help with this formula
=IF(VLOOKUP(A27,TUESDAY!$A$5:$AC$135,$P$1,FALSE)=" ","DNP",(VLOOKUP(A27,TUESDAY!$A$5:$AC$135,$P$1,FAL SE)))

I want it to give the total or if blank to fill in DNP. I appreciate your
help.

Thank you
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,501
Default formula

Hi,

The formula is doing exactly what your telling it to do. Whether that's what
you want is another matter.

It's lookung at A27 of the sheet the formula is on for a lookup value and P1
of the same sheet for a column and P1 must be 1,2 or 3. It's then looking up
those values in sheet "Tuesday" and doing 1 of 3 things

1. No match for a27 = #N/A
2. Match for a27 on no corresponding data "DNP"
3. Match for a27 and corresponding data it returns the data

Could you explain a bit more clearly what you expect it to do?

Mike

"dwalston" wrote:

I wa wondering if you can help with this formula
=IF(VLOOKUP(A27,TUESDAY!$A$5:$AC$135,$P$1,FALSE)=" ","DNP",(VLOOKUP(A27,TUESDAY!$A$5:$AC$135,$P$1,FAL SE)))

I want it to give the total or if blank to fill in DNP. I appreciate your
help.

Thank you

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
Regression Leverage Formula (Jerry W. Lewis or Mike Middleton)already have DFITS formula PJ[_3_] Excel Worksheet Functions 2 June 2nd 10 03:45 PM
copy formula down a column and have cell references change within formula brad New Users to Excel 5 May 13th 07 04:38 PM
Build excel formula using field values as text in the formula val kilbane Excel Worksheet Functions 2 April 18th 07 01:52 PM
Formula expected end of statement error, typing formula into cell as part of VBA macro [email protected] Excel Programming 1 July 20th 06 07:58 PM
Commenting custom formula fields/formula on formula editor Muxer Excel Programming 2 July 24th 03 01:02 AM


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