+ Reply to Thread
Results 1 to 9 of 9

combining if functions and data validation to do calculations

  1. #1
    Forum Contributor
    Join Date
    04-24-2012
    Location
    Manchester
    MS-Off Ver
    Excel 2007
    Posts
    140

    combining if functions and data validation to do calculations

    in the attached spreadsheet (tab QUOTE), there is data validation in the green cells (just the description column). when info is put in here i want tab ANALYSIS (yellow highlight) to autopopulate the task and the No. column. i can do this but get problems, ie if there is no data in the QUOTE tab it returns a #N/A error

    in the ANALYSIS tab, i have a formula in f26:f31 which looks at a value in the pricing tab multiplied by the No column and then it adds it up in h32.

    so what i am after is in ANALYSIS tab, i want the yellow to autiopopulate the figures based on the QUOTE tab green figures, but ignoring blank cells

    hope ive explained this well enough!

    thanks
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor AZ-XL's Avatar
    Join Date
    03-22-2013
    Location
    Azerbaijan, Baku
    MS-Off Ver
    Excel 2007
    Posts
    603

    Re: combining if functions and data validation to do calculations

    Hi
    Here is formula. Paste and drag down
    =IFERROR(INDEX(QUOTE!$D$21:$D$28,MATCH(SMALL(IF(NOT(ISBLANK(QUOTE!$D$21:$D$28)),ROW(QUOTE!$D$21:$D$28),""),ROW()-25),IF(NOT(ISBLANK(QUOTE!$D$21:$D$28)),ROW(QUOTE!$D$21:$D$28),""),0)),"")

    Hit Ctrl+Shift+Enter
    Appreciate the help? CLICK *

  3. #3
    Forum Contributor
    Join Date
    04-24-2012
    Location
    Manchester
    MS-Off Ver
    Excel 2007
    Posts
    140

    Re: combining if functions and data validation to do calculations

    works a treat, thanks!

  4. #4
    Valued Forum Contributor AZ-XL's Avatar
    Join Date
    03-22-2013
    Location
    Azerbaijan, Baku
    MS-Off Ver
    Excel 2007
    Posts
    603

    Re: combining if functions and data validation to do calculations

    Quote Originally Posted by petelomax View Post
    works a treat, thanks!
    My pleasure. Thanx for feedback.

  5. #5
    Forum Contributor
    Join Date
    04-24-2012
    Location
    Manchester
    MS-Off Ver
    Excel 2007
    Posts
    140

    Re: combining if functions and data validation to do calculations

    just going back to this query. ive attached the spreadsheet to help my explanation

    in the analysis tab, i want to add more rows where there are only 4 for the "sales orders" when i insert rows and input info into the "quote" tab in rows 21-28 it doesnt all show up in the "analysis" tab

    hope you can help
    Attached Files Attached Files

  6. #6
    Valued Forum Contributor AZ-XL's Avatar
    Join Date
    03-22-2013
    Location
    Azerbaijan, Baku
    MS-Off Ver
    Excel 2007
    Posts
    603

    Re: combining if functions and data validation to do calculations

    Maybe you should drag down the formula.

  7. #7
    Forum Contributor
    Join Date
    04-24-2012
    Location
    Manchester
    MS-Off Ver
    Excel 2007
    Posts
    140

    Re: combining if functions and data validation to do calculations

    when i insert cells in (SEE ATTACHED) it doesnt work!! cannot drag the formula down
    Attached Files Attached Files

  8. #8
    Valued Forum Contributor AZ-XL's Avatar
    Join Date
    03-22-2013
    Location
    Azerbaijan, Baku
    MS-Off Ver
    Excel 2007
    Posts
    603

    Re: combining if functions and data validation to do calculations

    I see
    Its because of "ROW()-25" inside the formula. I changed it and works ok now. When you will insert new row you should change it manually.
    Attached Files Attached Files

  9. #9
    Forum Contributor
    Join Date
    04-24-2012
    Location
    Manchester
    MS-Off Ver
    Excel 2007
    Posts
    140

    Re: combining if functions and data validation to do calculations

    great thanks very much!

+ 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 Functions: Combining different calculations based on choice from one column
    By Nairobi Nice in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-19-2013, 07:31 AM
  2. Vlookup and combining options Data Validation
    By Keithfiebig in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-29-2013, 08:15 PM
  3. Combining If statement and data validation (non-list)
    By zangana in forum Excel General
    Replies: 0
    Last Post: 08-07-2012, 07:54 AM
  4. macro for data validation list to alter calculations
    By sandbach in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-01-2010, 10:26 AM
  5. Combining autotext, multiple value validation and dynamic data offset?
    By Chatis in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 08-21-2009, 09:38 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