Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,480
Default Search and replace help in Excel

Hi

Then enter the formulae I gave somewhere else on Sheet1

--
Regards
Roger Govier

"XAT" wrote in message
...
Thank you for your time on this Roger, certainly your solution was useful
if
i have to obtain the result in Worksheet-2.

But i want this to be done in Worksheet -1 itself. I need to use
worksheet-2
as my input file and search in worksheet-1, if match found 'To be paid'
column in Worksheet-1 needs to be updated nullifying the value in 'Advance
column'. Eventually, i should be able to get updated worksheet-1.

Regards,
XAT

"Roger Govier" wrote:

Sorry, that was incorrect.
There is no need for any formula in C1, it can be just =0
D1 it needs to be
=IF($A1="","",VLOOKUP($A1,Sheet1!$A:$D,4,0)-VLOOKUP($A1,Sheet1!$A:$D,3,0))
Copy B1:D1 down as far as required.
--
Regards
Roger Govier

"XAT" wrote in message
...
Greetings, i am looking help on following. I have 4 columns in
worksheet
1 -
Name, Dept, Salary advance & Salary to be paid, in worksheet 2, I
have
list
of names. Every month i need to take worksheet 2 containing list of
names
and
search in worksheet-1, if i find a match need to look at Salary advance
column and adjust this amount in Salary to be paid.

Note:worksheet-1 & 2 contain more than 1000 entries.


Example:
Worksheet-1
Tom,Sales,$200,$2000
Bob,Sales,$0,$2500
Simon,Sales,$1000,$3000

Worksheet-2
Simon
Tom

Result :
Tom,Sales,$0,$1800
Bob,Sales,$0,$2500
Simon,Sales,$0,$2000

Thank you for your time in advance ....


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
How do I search and replace special characters in Excel e.g. „¢ David Harrison Excel Discussion (Misc queries) 1 May 10th 06 07:10 PM
Excel should allow search/replace and filter by color Nabob Excel Discussion (Misc queries) 1 February 10th 06 02:48 AM
How do I search and replace text in a textbox in Excel? ToolQueen Excel Discussion (Misc queries) 2 July 7th 05 02:20 PM
How do I do a search and replace in a textbox in Excel? ToolQueen Excel Discussion (Misc queries) 0 June 27th 05 09:25 PM
Search and Replace Rebecca Excel Discussion (Misc queries) 1 May 14th 05 11:53 AM


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