+ Reply to Thread
Results 1 to 25 of 25

formulas that show other data only from Account Number ( need help plz )

  1. #1
    Registered User
    Join Date
    08-12-2014
    Location
    Algeria
    MS-Off Ver
    2007
    Posts
    21

    formulas that show other data only from Account Number ( need help plz )

    guys i need a formula that show other data only from Account Number I already have the other data like (Account Name) & (Phone number)
    & I already have Account Number on Excel & I want this formula to show the other data next to the Account Number this how it should be : file in Attachments

    so I want this VBA code to work like this :
    Account Number Account Name Phone number
    311011 SFI 84745407
    311013 MOG 84745401
    311015 AUN 84745460
    313545 SEF 84745455
    311878 RA 84745462
    313322 KAA 84745463
    313329 TIR 84745448
    311897 ASL 84745465
    311810 MOUI 84745410
    311877 OUL 84745999

    so when ever I have Account Number the formula will show me Account Name Phone number ...

    sorry for my poor english !! & thank you so much
    Attached Files Attached Files
    Last edited by zitno; 09-12-2014 at 08:28 AM.

  2. #2
    Registered User
    Join Date
    08-12-2014
    Location
    Algeria
    MS-Off Ver
    2007
    Posts
    21

    Re: formulas that show other data only from Account Number ( need help plz )

    771 viewer & non of them can help ??? O_o

  3. #3
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: formulas that show other data only from Account Number ( need help plz )

    Hi ZitNo,

    You've posted in the VBA sub-forum but you're asking for a formula - do you want a routine or a formula??
    If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)

    You can't do one thing. XLAdept

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin

  4. #4
    Registered User
    Join Date
    08-12-2014
    Location
    Algeria
    MS-Off Ver
    2007
    Posts
    21

    Re: formulas that show other data only from Account Number ( need help plz )

    I am not good at Excel like you guys ... but I guess VBA module will be great

  5. #5
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: formulas that show other data only from Account Number ( need help plz )

    Hi Zitno,

    The action is in Sheet2 - just type the account number in Range("A1") Zitno.xlsm

  6. #6
    Registered User
    Join Date
    08-12-2014
    Location
    Algeria
    MS-Off Ver
    2007
    Posts
    21

    Re: formulas that show other data only from Account Number ( need help plz )

    I don't know what u want me to do ... I did't get it ?!!!

  7. #7
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: formulas that show other data only from Account Number ( need help plz )

    Or with datavalidation (see orange cell).

    The result is in the green cells.
    Attached Files Attached Files
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  8. #8
    Registered User
    Join Date
    08-12-2014
    Location
    Algeria
    MS-Off Ver
    2007
    Posts
    21

    Re: formulas that show other data only from Account Number ( need help plz )

    thank you guys it's good !! but I don't want to use my Sheet1 as my data base I want VBA Code to include my database

  9. #9
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: formulas that show other data only from Account Number ( need help plz )

    Zitno.xlsm

    Hi Zitno,

    All the action is again in sheet2 - sheet1 is unnecessary

  10. #10
    Registered User
    Join Date
    08-12-2014
    Location
    Algeria
    MS-Off Ver
    2007
    Posts
    21

    Re: formulas that show other data only from Account Number ( need help plz )

    ok :D so how can I use it :P ...
    I already told u guys I am not that good at excel :P ... I am so sorry for being noob :D

  11. #11
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: formulas that show other data only from Account Number ( need help plz )

    Just type the account number in Range("A1") and hit the enter button

  12. #12
    Registered User
    Join Date
    08-12-2014
    Location
    Algeria
    MS-Off Ver
    2007
    Posts
    21

    Re: formulas that show other data only from Account Number ( need help plz )

    I already did that !! it does not work
    btw I am using Office 2007

  13. #13
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: formulas that show other data only from Account Number ( need help plz )

    You need to have set your system to accept macros:

    File-Options-Trust Center-Trust Center Settings-Disable All Macros with notification(The second option button down)

    And if that's not the problem then

    Check out this thread
    Last edited by xladept; 09-11-2014 at 04:49 PM.

  14. #14
    Registered User
    Join Date
    08-12-2014
    Location
    Algeria
    MS-Off Ver
    2007
    Posts
    21

    Re: formulas that show other data only from Account Number ( need help plz )

    amazing ;D it works great ... thanks a lot man :D ... great job

  15. #15
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: formulas that show other data only from Account Number ( need help plz )

    You're welcome!

  16. #16
    Registered User
    Join Date
    08-12-2014
    Location
    Algeria
    MS-Off Ver
    2007
    Posts
    21

    Thumbs up Re: formulas that show other data only from Account Number ( need help plz )

    here the VBA code is working just fine but it's missing the point !! I don't want to just put it on A1 & the code give me the output in C5 & A5 & B5


    I would like it .. when I put the code in any where in (A range) he will put the other data in B range & C range

    zitnoo.xlsm

    I hope it's not much to ask thanks a lot btw

  17. #17
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: formulas that show other data only from Account Number ( need help plz )

    Zitno.xlsm

    Ok Zitno - Try this

  18. #18
    Registered User
    Join Date
    08-12-2014
    Location
    Algeria
    MS-Off Ver
    2007
    Posts
    21

    Re: formulas that show other data only from Account Number ( need help plz )

    :D just the way i want it .. @xladept ... great job man :D u helped me a looooooooooooooot ... thank you so much ...
    & this forum is amazing with ppl like you

  19. #19
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: formulas that show other data only from Account Number ( need help plz )

    You're welcome and thanks for the rep!

  20. #20
    Registered User
    Join Date
    08-12-2014
    Location
    Algeria
    MS-Off Ver
    2007
    Posts
    21

    Re: formulas that show other data only from Account Number ( need help plz )

    other question ! how can I change there position ? for ex I want to change them to C ?!!

  21. #21
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: formulas that show other data only from Account Number ( need help plz )

    Hi Zitno,

    Here is the event code in sheet2:

    Please Login or Register  to view this content.
    To change the column to C just change the red 1 to a 3

    To be able to put the result anywhere on the sheet just delete that code line or put an apostrophe before it

  22. #22
    Registered User
    Join Date
    08-12-2014
    Location
    Algeria
    MS-Off Ver
    2007
    Posts
    21

    Re: formulas that show other data only from Account Number ( need help plz )

    thank youuu :D ...

  23. #23
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: formulas that show other data only from Account Number ( need help plz )

    You're welcome and thanks for the rep!

  24. #24
    Registered User
    Join Date
    08-12-2014
    Location
    Algeria
    MS-Off Ver
    2007
    Posts
    21

    Re: formulas that show other data only from Account Number ( need help plz )

    it's the least i can do u helped me a lot

  25. #25
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: formulas that show other data only from Account Number ( need help plz )

    Hi Zitno,

    You should mark this thread as solved - go to the top and click on thread tools

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. if Account number = return Account Name
    By mom2carisa in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 09-04-2013, 06:03 PM
  2. Return Account Nickname if Account Number Matches
    By spacle in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-03-2013, 11:04 AM
  3. [SOLVED] How to censor account numbers based on how many characters are in the account number
    By Mcorydon in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 04-25-2013, 01:06 PM
  4. Auto sum data in rows by account number
    By curt03yzfr1 in forum Excel General
    Replies: 3
    Last Post: 12-09-2011, 09:05 AM
  5. Comparing data of two sheets-Pick an account number,
    By sriramkanala in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-09-2006, 10:59 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1