• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

How to show a value based on a list

MonkeyNut

Member
Hi there all,

Is it possible to show branch number in a macro of some sort, based on a value from another cell. I am probably not saying any of this correctly. I have attached file. This file is imported into excel with Column D already in. I would like to have automatically the branch numbers related to Column D as shown in Column F. At the moment I am manually putting in the Branch Numbers in Column F.

Thanks Kindly
MN
 

Attachments

  • Branch Code1.xlsx
    54.2 KB · Views: 6
Hi ,

What is the logic by which you have entered the branch numbers in column F ?

Narayan
Hi Narayan, Example from Line 18:
26/08/2014 25/08/2014 POS G1401123 BIM Electron 16,379.00 717 205,786.54
POS G1401123 BIM Electron was a payment made through (not to) our Branch 717 (as is shown in Column F). The POS G1401123 is a machine at branch 717. So the payment was made from that machine, and i need to show the branch number. Does that make any sense?
Thanks for your reply
Merle
 
Hi Narayan, Example from Line 18:
26/08/2014 25/08/2014 POS G1401123 BIM Electron 16,379.00 717 205,786.54
POS G1401123 BIM Electron was a payment made through (not to) our Branch 717 (as is shown in Column F). The POS G1401123 is a machine at branch 717. So the payment was made from that machine, and i need to show the branch number. Does that make any sense?
Thanks for your reply
Merle
P.s. I am manually putting in the branch codes, I would like Column F to automatically pick up from Column D, and put the Branch code into Column F.
 
Hi MN,

Some observation from my side:

You are pulling branch code as per G1401123 text starting with POS. So you can create a lookup table with all these machine numbers with their branch and use a lookup function to get branch code, if the column C value has this text.

Regards,
 
Back
Top