+ Reply to Thread
Results 1 to 3 of 3

INDEX Fuction - Urgent Help Needed

  1. #1
    Registered User
    Join Date
    03-01-2013
    Location
    Glasgow
    MS-Off Ver
    Excel 2003
    Posts
    2

    Exclamation INDEX Fuction - Urgent Help Needed

    Hi All,

    I have set up the following formula in Sheet 2 of my workbook:

    =INDEX(Sheet1!$A:$Z,$A2+MATCH(OFFSET(Sheet1!$B$3,0,INT(COLUMN()/2)-1),Sheet1!$A:$A,-1),1+(COLUMN()-1)*0.5*SIN(0.5*PI()*COLUMN())^2)

    This has been designed to find the stock price for the company in columns B to AFN of Sheet1 for the date specified in row 3 under the company name in row 2. It really is quite simple.
    The formula is successfully returning the correct dates from the date column but wont return the corresponding prices. Instead, it is returning some weird date value.


    I would appreciate if someone could have a look at the workbook and point out why it will not return the stock prices. The aim of the function is pretty obvious from the workbook and I am sure it will only require a slight tweak.

    Please find attached a sample of my workbook.

    I truly appreciate and assistance on this urgent matter!

    Thanks
    Ryan
    Attached Files Attached Files

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,644

    Re: INDEX Fuction - Urgent Help Needed

    Ryan

    Have you tried formattin the weird dates as General?
    If posting code please use code tags, see here.

  3. #3
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,603

    Re: INDEX Fuction - Urgent Help Needed

    For urgent matters, pay sites are faster than free sites maintained by volunteers on their spare time

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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