+ Reply to Thread
Results 1 to 13 of 13

Function/solution to fill in cells!

  1. #1
    Forum Contributor
    Join Date
    08-18-2017
    Location
    London
    MS-Off Ver
    Excel 2016
    Posts
    308

    Wink Function/solution to fill in cells!

    Hi excelers,
    Being trying to get a formulas or solution to fill-in the vertical empty cells (yellow cells) to create my logic chart for identifying intraday market patterns from datafeed left.
    Please check out the attached sheet and take a peak, if u have any ideas and want to test a solution you can use another chart box (left) to fill in the cells (right).
    Im being using IF function but Im NOT very good with puzzles.

    Thx Stewart
    Attached Images Attached Images
    Attached Files Attached Files

  2. #2
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,616

    Re: Function/solution to fill in cells!

    Wow, puzzle!
    Love it :-)


    Well, you have whole set of formulas in first square. I've changed them (you had 49 similar formulas, but each one different - changed manually) to one universal one to be placed in E2 and copied down/right:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    This is used in original location (E2:K8)

    Let me explain it a bit:
    So in E2 INDIRECT evaluates content of D2 and it is compared with 9-2 so with 7
    in E3 INDIRECT still evaluates content of D2, but it is compared with 9-3 so with 6, etc
    in F2 INDIRECT evaluates content of D3 (because argument for COLUMN is now C1, so third column), and the result is compared with 7 (9-2), and so on, and so forth
    This way we have just one formula good for all cells :-)


    To have marked (filled 1) squares like these yellow in column E one need such formula checking if we are "above place for black square in our column and below square in next right":
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    so conjunction of 2 very similar formulas, but one with reference to current column and second to next to right
    to see them in attached file look at Af2:AL8

    now lets take care of situation with location above black square in current column and below one in previous to the left (see it working in AN2:AT8):
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    So we have all parts ready and can combine them into universal formula, used in M2 and copied down/right to S8:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by Kaper; 08-22-2018 at 02:33 AM.
    Best Regards,

    Kaper

  3. #3
    Forum Contributor
    Join Date
    08-18-2017
    Location
    London
    MS-Off Ver
    Excel 2016
    Posts
    308

    Re: Function/solution to fill in cells!

    thx kaper, I will try this your solution now and get back to you... stewart
    Last edited by QuantEdge; 08-22-2018 at 06:41 AM.

  4. #4
    Forum Contributor
    Join Date
    08-18-2017
    Location
    London
    MS-Off Ver
    Excel 2016
    Posts
    308

    Re: Function/solution to fill in cells!

    ok I the first 7x7 window to work from your formula (nice work)... but now can't get it to work on the 10x10 window see attachment please.
    also can you create a simpler formula solution to chart this data into windows? open for ideas...

    thx stewart
    Attached Files Attached Files

  5. #5
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,616

    Re: Function/solution to fill in cells!

    In the formula you now do not refer to column D but to P, row is no longer between 2 and 8 (9- something) but between 2 and 11 so 12-something. For row part of address you need to still refer to 1st, 2nd and 3rd column, so:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    and copy right/down

    Note that shape is different than you sketched, because it is based on column P (and before D) while you draw your charts based all the time on column A - may be your normalization in column P is different than the one you used in column D? But it is out of topic. In this thread we focus on filling cells.
    See my sketches (charts below yours - based on resp. columns D and P.
    Attached Files Attached Files

  6. #6
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,616

    Re: Function/solution to fill in cells!

    PS. I expect that proper formula for P2 (and copy down) is:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    you may first try it on D2 and copy down:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  7. #7
    Forum Contributor
    Join Date
    08-18-2017
    Location
    London
    MS-Off Ver
    Excel 2016
    Posts
    308

    Re: Function/solution to fill in cells!

    Thx Kaper, that seems to fix it...but when I copy down the second chart it don't work? is there a fix for this because I need this to work on all data below also... attached sheet
    Attached Files Attached Files

  8. #8
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,616

    Re: Function/solution to fill in cells!

    Now you analyze data from column D, rows 10:16 (so 8 rows down from previous location. You have to adjust columns used to generate address from A, B, C to columns 8 right, so I,J,K as well as adjust how rows are calculated so instead of 9-ROW() you have 8 more: 17-ROW()

    E10 and copy down:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Unfortunately, you have to work it out and understand how the formula works, because otherwise, you will not be able to adjust it yourself.
    To make this process easier, in my first post I've shown you 3 separate parts how formula is created.

    of course you still have some more options:
    1) someone else gives different solution
    2) you rearrange data used to "draw" the "pixel charts" to horizontal. This way INDIRECT will not be necessary, making formula easier to read. If you use oposite ranking than is used now (largest value will receive lowest rank, part with ROW() can be a bit easier too hbeing just row(some cell) not somenumber-row()
    3) you use the formula with manual adjustments similar as you did originaly - so de facto 49 separate formulas in E10:K16 do E10:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    E11:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    and so on down, while F10:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    and so on, and so forth
    Last edited by Kaper; 08-22-2018 at 08:39 AM.

  9. #9
    Forum Contributor
    Join Date
    08-18-2017
    Location
    London
    MS-Off Ver
    Excel 2016
    Posts
    308

    Re: Function/solution to fill in cells!

    all fixed now...
    Last edited by QuantEdge; 08-22-2018 at 04:02 PM.

  10. #10
    Forum Contributor
    Join Date
    08-18-2017
    Location
    London
    MS-Off Ver
    Excel 2016
    Posts
    308

    Re: Function/solution to fill in cells!

    thanks again.... should have it working soon....
    Last edited by QuantEdge; 08-22-2018 at 04:03 PM.

  11. #11
    Forum Contributor
    Join Date
    08-18-2017
    Location
    London
    MS-Off Ver
    Excel 2016
    Posts
    308

    Re: Function/solution to fill in cells!

    I was now able to use your new formula please check out sheet with profiles (right).

    Can you see any other way to make it more simpler?

    thx again stewart
    Attached Files Attached Files
    Last edited by QuantEdge; 08-22-2018 at 04:01 PM.

  12. #12
    Forum Contributor
    Join Date
    08-18-2017
    Location
    London
    MS-Off Ver
    Excel 2016
    Posts
    308

    Re: Function/solution to fill in cells!

    Hi excelers,
    I am here to post a problem which is beyond my excel skill level.
    I need to plot a dataset within a 5x5 cell window made up of "1" (see attached screen).

    Criteria: The formula should be easily copy/paste down to calculate previous below rows of data, and be the simplest & fastest possible.

    PS, looks easy but there is alot of tricky and optimization problems to overcome...
    If you need any more information do please contact me.
    Thx, stewart
    Attached Images Attached Images
    Attached Files Attached Files

  13. #13
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,647

    Re: Function/solution to fill in cells!

    Please tell us what you have tried based on the techniques you have learnt already in this thread. It's the same procedure, which is why all your other threads were closed.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

+ 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. solution to fill color
    By tamesh.d in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-13-2018, 07:42 PM
  2. [SOLVED] Help using the 'If' function to automatically fill in other cells
    By Ron Rosenfeld in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 09-06-2005, 09:05 AM
  3. [SOLVED] Help using the 'If' function to automatically fill in other cells
    By Bugaglugs in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-21-2005, 07:05 PM

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