Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I want to run an If statement or loop macro over two columns (say Col B and
C) that asks if data in cell B = "text" and cell C = "name" then return "account number" to column D. e.g Cell B1 = ABC Bank Cell C1 = Account Name Cell D1 = Destination cell = Account number This loop needs to be done on more than one Account Name. Your help would be greatly appreciated. George |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Could you please explain where you get the account number from?
What should be placed in column D? Also: when you write "if data in cell B = "text" ", do you mean if cell B contents contains text (no number) ? HTH -- AP "George" a écrit dans le message de ... I want to run an If statement or loop macro over two columns (say Col B and C) that asks if data in cell B = "text" and cell C = "name" then return "account number" to column D. e.g Cell B1 = ABC Bank Cell C1 = Account Name Cell D1 = Destination cell = Account number This loop needs to be done on more than one Account Name. Your help would be greatly appreciated. George |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
SET statement tutorial | Excel Discussion (Misc queries) | |||
Loop gone crazy | Excel Discussion (Misc queries) | |||
Do Loop | Excel Discussion (Misc queries) | |||
If statement | Excel Discussion (Misc queries) | |||
Do I need a sumif or sum of a vlookup formula? | Excel Worksheet Functions |