Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 08-16-2024, 12:14 PM
AP41-at-OfficeFORUM AP41-at-OfficeFORUM is offline Results of the EXCEL-2021 (win11) CERCA function not correct!n Windows 10 Results of the EXCEL-2021 (win11) CERCA function not correct!n Office 2019
Novice
Results of the EXCEL-2021 (win11) CERCA function not correct!n
 
Join Date: May 2021
Location: Italy
Posts: 23
AP41-at-OfficeFORUM is on a distinguished road
Default Results of the EXCEL-2021 (win11) CERCA function not correct!n

As said in the title the Italian version of the 2021 Excel does not give the correct results ... as shown in the attached sample ... and surely due the my incorrect usage of it! Please enlighten me, thank you,


Antonio
Attached Files
File Type: xlsx Function-CERCA-problem.xlsx (11.1 KB, 8 views)
Reply With Quote
  #2  
Old 08-18-2024, 06:22 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline Results of the EXCEL-2021 (win11) CERCA function not correct!n Windows 10 Results of the EXCEL-2021 (win11) CERCA function not correct!n Office 2021
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,943
Pecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond repute
Default

Hi
the CERCA function ( LOOKUP) returns the largest value smaller than the lookup value when not found. You should not use it, as it was only created for compatibility reasons.
Instead you can use the CERCA.X function ( XLOOKUP) which should be available in XL2021 AFAIK
5 i am using O365 but cannot change this is my profile as admin decided against it, there being numerous versions of O365)
Attached Files
File Type: xlsx Function-CERCA-problem.xlsx (12.3 KB, 4 views)
__________________
Using O365 v2503 - Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post
Reply With Quote
  #3  
Old 08-18-2024, 09:58 AM
AP41-at-OfficeFORUM AP41-at-OfficeFORUM is offline Results of the EXCEL-2021 (win11) CERCA function not correct!n Windows 10 Results of the EXCEL-2021 (win11) CERCA function not correct!n Office 2019
Novice
Results of the EXCEL-2021 (win11) CERCA function not correct!n
 
Join Date: May 2021
Location: Italy
Posts: 23
AP41-at-OfficeFORUM is on a distinguished road
Default

Excellent solution, Mr. Pecoflyer, THANK YOU VERY MUCH!
I will flag this thread as SOLVED although there was another small question remained unanswered: the vertical counting of the col. Y alone values, for some for me mysterious reasons, doesn't work! Never mind ... I will further investigate it myself ...
GRAZIE MOLTE! Antonio
Reply With Quote
  #4  
Old 08-18-2024, 11:19 PM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline Results of the EXCEL-2021 (win11) CERCA function not correct!n Windows 10 Results of the EXCEL-2021 (win11) CERCA function not correct!n Office 2021
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,943
Pecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond repute
Default

You're welcome
Quote:
counting of the col. Y alone values, for some for me mysterious reasons, doesn't work
Your formula =COUNTIF(Y7:Y9;">0") will only work for numbers;"03" e.g. is text, so depending on what you will input in the cell when the value is not found, there are different possibilities.
Let me know what you want to do
__________________
Using O365 v2503 - Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post
Reply With Quote
  #5  
Old 08-19-2024, 01:20 PM
AP41-at-OfficeFORUM AP41-at-OfficeFORUM is offline Results of the EXCEL-2021 (win11) CERCA function not correct!n Windows 10 Results of the EXCEL-2021 (win11) CERCA function not correct!n Office 2019
Novice
Results of the EXCEL-2021 (win11) CERCA function not correct!n
 
Join Date: May 2021
Location: Italy
Posts: 23
AP41-at-OfficeFORUM is on a distinguished road
Default

There is a big dilemma ... if I digit 3 as the first value to be searched the CERCA.X function will not find it ... so I'm obliged to specify all values from 1 to 9 with a leading 0 ! But then the counting will not function ... since fo me the CERCA.X service is more important I'm ready to renounce to the counting function ... if for such task there is no feasible solution ... therefore thank you anyway Mr. PECOFLYER! Antonio
Reply With Quote
  #6  
Old 08-19-2024, 11:54 PM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline Results of the EXCEL-2021 (win11) CERCA function not correct!n Windows 10 Results of the EXCEL-2021 (win11) CERCA function not correct!n Office 2021
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,943
Pecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond repute
Default

Does this help ?
Attached Files
File Type: xlsx Function-CERCA-problem(2).xlsx (11.7 KB, 3 views)
__________________
Using O365 v2503 - Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post
Reply With Quote
  #7  
Old 08-20-2024, 02:55 AM
AP41-at-OfficeFORUM AP41-at-OfficeFORUM is offline Results of the EXCEL-2021 (win11) CERCA function not correct!n Windows 10 Results of the EXCEL-2021 (win11) CERCA function not correct!n Office 2019
Novice
Results of the EXCEL-2021 (win11) CERCA function not correct!n
 
Join Date: May 2021
Location: Italy
Posts: 23
AP41-at-OfficeFORUM is on a distinguished road
Default

Your trick did function, SIGNOR Pecoflyer!
Very obliged! you are a genius ... thank you very much again, Antonio
Reply With Quote
  #8  
Old 08-20-2024, 03:17 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline Results of the EXCEL-2021 (win11) CERCA function not correct!n Windows 10 Results of the EXCEL-2021 (win11) CERCA function not correct!n Office 2021
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,943
Pecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond repute
Default

You're welcome
__________________
Using O365 v2503 - Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Results of the EXCEL-2021 (win11) CERCA function not correct!n Correct syntax for PtrSafe Function AccessibleObjectFromWindow Paul Cain Excel Programming 2 11-19-2018 04:29 AM
Assistance with Today() function returning correct value DaveWSinger Excel 4 03-08-2018 05:34 AM
Search function returns NO RESULTS eshawarrik Outlook 2 03-30-2017 09:15 AM
Results of the EXCEL-2021 (win11) CERCA function not correct!n COUNTIFS function is only returning partial results rgauss Excel 2 01-25-2017 01:26 PM
Results of the EXCEL-2021 (win11) CERCA function not correct!n Is it correct (PasteSpecial function) gsrikanth Excel Programming 7 01-17-2012 11:23 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 07:19 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft