Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Senior Member
 
Location: Belo Horizonte, Brazil
Posts: 170
Exclamation

Quote:
Originally Posted by Stepper View Post
Using the attached table as an example....

I'm using a VLOOKUP formula to return the values in column I, however, I only want the values returned if there are 3 or more values in columns B-H. If there are less than 3, I want "NA" returned.
I've tried a few variations, including putting a COUNTIF formula in column K to determine whether there are 3 or more values, then incorporating that column into the VLOOKUP, but I can't get this to work either.
Can anyone help? I've been stuck on this for days.
What kind of data are you intended to show in column I ?
Could you explain with a little more details the search are you using?

You can control the number of cells with values.

Look at this example: I put the media on I1 if there are 3 or more values on tehe B1:H1 interval

I1 -- =IF(COUNTIF(B1:H1,"<0")=3,(SUM(B1:H1)/COUNTIF(B1:H1,"<0")),"NA")

Tell me your necesity a little better, Please.
__________________
I hope it can help you.

Best regards,
Marcilio Lobão
---------------------------
Belo Horizonte, Brazil
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
Countif/Vlookup juancarlos Excel Discussion (Misc queries) 2 September 23rd 09 10:43 PM
Countif and Vlookup in a single formula pol Excel Discussion (Misc queries) 2 July 16th 09 08:56 AM
countif and Vlookup pol Excel Discussion (Misc queries) 2 July 15th 09 05:01 PM
COUNTIF and VLOOKUP mpenkala Excel Worksheet Functions 3 April 10th 08 10:20 PM
Countif or Vlookup praveen_khm Excel Worksheet Functions 1 February 3rd 06 08:17 PM


All times are GMT +1. The time now is 10:26 AM.

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"