+ Reply to Thread
Results 1 to 2 of 2

formula to get a number to prepopulate from the row above by way of the sumif formula

  1. #1
    Registered User
    Join Date
    01-22-2012
    Location
    San Francisco, CA
    MS-Off Ver
    Mac Excel 2004
    Posts
    3

    formula to get a number to prepopulate from the row above by way of the sumif formula

    My husband is a pilot and I am making an excel spreadsheet to help calculate his per diem wages at the end of the year. I have my spreadsheet set up so that if he enters the city code, say "DAL" in Column A it now prepopulates with "Dallas, Texas" in column B and I used the sumif formula to have column C prepopulate with "$71" which is the going per diem rate for Dallas. If I type in OMA in column A, column B prepopulates with "Omaha, Nebraska" and column C says $61 which is the per diem rate for Omaha. This is what I want it to do. But I have a bit of a complication with the way per diem works. If it is the last day of his trip (which is always OAK) he has to claim the day before's per diem rate. So, how do I get it to look up the per diem rate from wherever he was the day before when I type in "OAK" to column A? Is there a way to tie the word OAK to column C from the row above?

    Does this make sense?

    Thanks soooo much again for your help!!

  2. #2
    Registered User
    Join Date
    08-21-2011
    Location
    Sri Lanka
    MS-Off Ver
    Excel 2007
    Posts
    17

    Re: formula to get a number to prepopulate from the row above by way of the sumif for

    Can you please attach a dummy file? remove all the confidential data with dummy data. Also include the desired outcomes when OAK enter in A.

    For attaching a file, go to bottom click on Go Advanced then click paper clip icon after the smileys on the top.

+ 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