+ Reply to Thread
Results 1 to 19 of 19

need help with IF in excel 2016

Hybrid View

  1. #1
    Forum Expert leelnich's Avatar
    Join Date
    03-20-2017
    Location
    Delaware, USA
    MS-Off Ver
    Office 2016
    Posts
    2,807

    Re: need help with IF in excel 2016

    ...OR here's a formula that works. NOD to Ford for the more efficient Find method. I put his formula in an INDIRECT function to generate a Defined Name instead of text, then used the returned value as a divisor. Zeros cause an error, which yields "" through the IFERROR clause.

    =IFERROR(1/(1/INDIRECT(LEFT(NAME,FIND(" ",NAME)-1)&"_Gas_Saturday_Initial")),"")

    Please click the Add Reputation star below any helpful posts, and if you have your answer, mark your thread as SOLVED (Thread Tools up top). Thanks!-Lee

  2. #2
    Registered User
    Join Date
    06-11-2017
    Location
    Richburg, SC
    MS-Off Ver
    O365 HOME
    Posts
    8

    Re: need help with IF in excel 2016

    the last formula didn't work so here is a link to my Excel file so that you can see what I'm working with

    https://www.dropbox.com/s/vhhghgoae6...heet.xlsm?dl=0

    the file does have macros so if you see a warning it's just a macro to create a folder with the next Saturday's date then save as pdf

  3. #3
    Forum Expert leelnich's Avatar
    Join Date
    03-20-2017
    Location
    Delaware, USA
    MS-Off Ver
    Office 2016
    Posts
    2,807

    Re: need help with IF in excel 2016

    Quote Originally Posted by techmaster29729 View Post
    the last formula didn't work so here is a link to my Excel file so that you can see what I'm working with
    Perhaps it didn't work because you hadn't defined the name Jean_Gas_Saturday_Initial! When I did that and applied the formula with Name = "Jean Doe", it worked fine.

    ps. Ford, I think the formula goes in SAT!$H$29

    Please click the Add Reputation star below any helpful posts, and if you have your answer, mark your thread as SOLVED (Thread Tools up top). Thanks!-Lee
    Last edited by leelnich; 06-12-2017 at 06:17 AM.

  4. #4
    Registered User
    Join Date
    06-11-2017
    Location
    Richburg, SC
    MS-Off Ver
    O365 HOME
    Posts
    8
    Quote Originally Posted by leelnich View Post
    Perhaps it didn't work because you hadn't defined the name Jean_Gas_Saturday_Initial! When I did that and applied the formula with Name = "Jean Doe", it worked fine.

    ps. Ford, I think the formula goes in SAT!$H$29

    Please click the Add Reputation star below any helpful posts, and if you have your answer, mark your thread as SOLVED (Thread Tools up top). Thanks!-Lee
    well those names where generic names and the defined names was for the real names... srry forgot to change the defined names.. b10 for each name tab goes in h29 Saturday depending on the name selected

+ 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. Replies: 23
    Last Post: 01-03-2022, 10:45 AM
  2. VBA surrounding embedding Google Maps in Excel not working in excel 2016
    By Dtrix in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-09-2016, 07:04 PM
  3. [SOLVED] VBA and Excel 2016
    By Saturn in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-06-2016, 12:35 PM
  4. Replies: 2
    Last Post: 05-24-2016, 10:43 PM
  5. Had custom toolbar in older Excel for Mac, seeking similar functionality in Excel 2016
    By ianpage in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 2
    Last Post: 05-13-2016, 11:06 AM
  6. Excel 2016 & beyond!
    By jewelsharma in forum The Water Cooler
    Replies: 6
    Last Post: 01-10-2016, 05:53 AM
  7. Replies: 23
    Last Post: 12-29-2015, 05:02 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