Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
samenvoegen van sheets
 
Posts: n/a
Default msgbox / inputbox etc

thks a lot for you proposition

have a nice day

"Dave Peterson" wrote:

Are you using formulas for your =vlookup()?

If yes, maybe you could add a check to your formula:

=vlookup(a1,sheet2!a:b,2,false)
would become:
=if(countif(sheet2!a:a,a1)1,"Duplicates",vlookup( a1,sheet2!a:b,2,false))

or even:

=if(countif(sheet2!a:a,a1)<1,"Duplicates or missing",
vlookup(a1,sheet2!a:b,2,false))
(one cell)


samenvoegen van sheets wrote:

Hi,

I'm using a vlookup formule to translate names into codes in a really big
excel sheet.
The problem is that if there are two time the same name, the system will
take the first code to translate the name without warning me. It can happens
that the system choose then for the wrong code.

Therefore, i would like to use a msgbox or inputbox to warn me that there
are two or more same names and to let me choose directly between the
different codes.

Is it possible ?? en if yes how can i do that?

thanks a lot for any help...


--

Dave Peterson

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
Inputbox with VBA Jeff Excel Discussion (Misc queries) 3 January 19th 06 05:18 PM
Need to Improve Code Copying/Pasting Between Workbooks David Excel Discussion (Misc queries) 1 January 6th 06 03:56 AM
MsgBox compile error in Excell Jerry Dyben Excel Discussion (Misc queries) 1 October 11th 05 07:04 PM
MsgBox with condition and showing details viddom Excel Worksheet Functions 2 August 17th 05 12:38 PM
Msgbox Wildman Excel Worksheet Functions 1 April 26th 05 04:57 AM


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