+ Reply to Thread
Results 1 to 3 of 3

Trying to return a column header in a cell based on a value

  1. #1
    Registered User
    Join Date
    04-18-2012
    Location
    Shreveport, LA, USA
    MS-Off Ver
    Office 2013
    Posts
    63

    Trying to return a column header in a cell based on a value

    I've searched this and other forums, but haven't found an example of what I'm trying to do here, and you guys were so helpful to me when I borrowed this spreadsheet from its OP that I figured I needed to give you guys another stab at it.

    NVBC helped a lot with one formula, but I need to go a step beyond that formula. In this workbook I have highlighted the cell containing the formula I got from NVBC (data!$A$13), as well as the cell it's referencing in the table to the right of it (data!R$8$).

    What I'm trying to do here is enter a formula into a cell on the other worksheet (interface!$B$11) that will return the column heading above the value in data!$R$8, which is (3) 2x10. This wil tell me that, based on the formula result of 573, the resulting header or beam thickness will require 3 2x10s.

    My hope is that, if someone can help me with this, I can figure out the rest. Then, some day soon, I can pass this spreadsheet around to all my designers and crew foremen and they can use this to cut our time way down.

    Header and Beam Calculator.xlsx

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Trying to return a column header in a cell based on a value

    Not sure where you're looking to put this but I put this formula in data!B13

    =INDEX($H$4:$AO$4,MATCH(TRUE,INDEX(INDEX($H$5:$AO$22,MATCH(interface!$B$5,$G$5:$G$22,0),0)>=$A$11,0),0))

    Does that work for you?
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Registered User
    Join Date
    04-18-2012
    Location
    Shreveport, LA, USA
    MS-Off Ver
    Office 2013
    Posts
    63

    Re: Trying to return a column header in a cell based on a value

    That did exactly what I wanted it to.

    Thank you, ChemistB.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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