vlookup

luxbax12

New Member
Joined
Nov 3, 2005
Messages
46
Hi All,
if acct # in column A matches an account # in column D then i would like for the value in column E to be placed in Column C.If the account number is not listed in column D
then the value in column B would be placed in Column C.
Thanks For any advice.
customer types_060608.xls
ABCDE
1Acct #Current AmntNew AmntAcct #Sale Amnt
2000001119383010000040570.08
3100004000000010009180.00
400000129985000000010014180.00
500000177720100000010025119374.50
600000157930600000010025610.00
70000017974160000001005022361.80
80000014760100000001008587272.00
9000001651819000000101400517702.40
10000001767850000000101429689.00
110000011133470000001016083756.50
12000001025167000000101619931651.20
1300000128512400000010174001026.20
1400000162431600000010174890.00
1500000140520600000010179134904.30
1600000174159500000010181247309.17
1700000173421000000010182133654.85
1800000181672300000010183790.00
1900000141904200000010184160.00
2000000109938400000010190311456.20
210000017538190000001019072301.00
2200000141755900000010192527911.50
2300000151612400000010215824540.48
24000001268610000000102203636270.00
250000015712220000001024302797.40
2600000185150800000010297899386.30
27000001267904000000103046940171.95
280000018835570000001034151803.50
290000010163500000001034359136.50
300000017203330000001035793152.50
Sheet1
 
Hey Aladin,
Ok that formula gave me the correct amount for the first account in column A,
But when i dragged down, it gave me a zero for the account 1000040, which should have been $570.08.

Thanks for helping.
Book1
ABCDE
21119383100010000040570.08
31000040010009180.00
41299850010014180.00
51777201010025119374.50
61579306010025610.00
7179741601005022361.80
8147601001008587272.00
916518190101400517702.40
1017678500101429689.00
11111334701016083756.50
1210251670101619931651.20
131285124010174001026.20
141624316010174890.00
Sheet1
 
Upvote 0

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce

Forum statistics

Threads
1,215,039
Messages
6,122,799
Members
449,095
Latest member
m_smith_solihull

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top