Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 142
Default Using VB to code sheet formulas

Hi,

I have 3 sheets in a workbook.

1. Bank
2. MIS
3. Temp

Bank sheet:
Formula columnB from B13 to end of column depending on ID in
corresponding column D
=IF($D13="","",IF(COUNTIF(List,$D13),VLOOKUP($D13, List,
3,FALSE),"Incorrect or New ERP ID
"))


Formula columnC from C13 to end of column depending on ID in
corrsponding column D
=IF($D13="","",IF(COUNTIF(List,$D13),VLOOKUP($D13, List,
2,FALSE),"Update List"))

Formula in columnM from M13
=IF(COUNTIF(MIS!$A:$A,S13),VLOOKUP(S13,MIS!$A:$Q,8 ,FALSE),"")

Formula in columnN from N13
=IF(COUNTIF(MIS!$A:$A,S13),VLOOKUP(S13,MIS!$A:$Q,1 1,FALSE),ABS(0))

Formula in columnS from S13
=F13&J13

------------------------------------------
MIS Sheet:
Formula in columnA from A2
=K2&G2

Formula in columnR from R2
{=INDEX(Bank!B:B,MATCH(A2,Bank!S:S,0))}
------------------------------------------

Temp Sheet:
I have a named range 'List' from this sheet which is being used in
bank sheet to vlookup.


Required:
I would like all the formula calculations in VB for both Bank & MIS
sheets.
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
copied formulas refer to destination sheet not source sheet Dantron Excel Worksheet Functions 2 October 21st 09 09:51 PM
How to copy formulas sheet to sheet in excell Kathy Excel Worksheet Functions 1 May 14th 09 12:58 AM
Code to change code in a sheet and workbook module Otto Moehrbach Excel Programming 11 November 11th 07 07:20 PM
Protect Sheet with code, but then code will not Paste error. How do i get around this. Please read for explainations.... Corey Excel Programming 4 November 25th 06 04:57 AM
See code enclosed - Convert to formulas with absolute reference inculding the sheet references! Maria J-son Excel Programming 0 May 10th 05 08:40 AM


All times are GMT +1. The time now is 01:41 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"