Formula help

danushka

Well-known Member
Joined
Sep 6, 2009
Messages
693
Dear friends.I'm going to make excel base cheque printing format.

33xvb7q.png



I need formula to auto file "C6" & "L8" cells.(pay name & amount) .if i change "C1" cell number ,base on column "A" that two cells need to auto file.pls give me formula for this.thanks in advance.
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
Hi danushka,

Try this formula for cell C6 (payee)...

=VLOOKUP($C$1,$A$14:$B$16,2,FALSE)

...and this formula for cell L8 (amount):

=VLOOKUP($C$1,$A$14:$C$16,3,FALSE)

Just change the table_array range part of the formulas to suit (if necessary).

HTH

Robert
 
Upvote 0
You're welcome :)

Just bear in mind if there's no corresponding (matching) number from cell C1 the formulas will return "#N/A".
 
Upvote 0
You're welcome :)

Just bear in mind if there's no corresponding (matching) number from cell C1 the formulas will return "#N/A".
If something happened like that ,do u have any other way to keep that cell empty, other than "#N/A".
 
Upvote 0
If something happened like that ,do u have any other way to keep that cell empty, other than "#N/A".

Excel 2007 and beyond...

=IFERROR(VLOOKUP(C1,$A$14:$B$16,2,0),"")

On all versions...

=IF(ISNUMBER(MATCH(C1,$A$14:$A$16,0)),VLOOKUP(C1,$A$14:$B$16,2,0),"")
 
Upvote 0
You're welcome and thanks too to Aladin (yet again) ;)
 
Upvote 0

Forum statistics

Threads
1,224,599
Messages
6,179,831
Members
452,947
Latest member
Gerry_F

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