LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Dee
 
Posts: n/a
Default If, Then Function

I have a spreadsheet that I want to track the visits of patients and the how
much I would owe the site for the visits. I have another spreadsheet that
works out the cost. per visit. For example, the patients would be seen
Screening, Day 1, Day 2, Day 8, Day 15, Day 22, Day 36 and Final Visit. The
cost for each visit varies. I have a spreadsheet that calculates the cost of
each visit and also the total cost depending on the number of visits. Say
patient 003 had completed Screening, Day 1 and Day 2, my second spreadsheet
calculates how much we would owe for the patient for the 3 visits. On my
first spreadsheet I have excel enter the dates of each visit by adding the
days to visit Day 1. At the end of the row I have a count of the number of
visits that have been completed. I would like to have excel enter the cost of
the number of visits. For example, if at the end of the row the patient had
completed 4 visits, I want excel to enter the cost of the 4 visits that has
been calculated on the second spreadsheet. There are 8 visits in all. What
type of formula could I use to achieve this. I want excel to look in say
cell F2, if there is a 4 in F2 how can I have excel enter the right cost for
4 visits in cell G2. Would I use an If, then function. If F2 is 4 then enter
$4,567.99 which is calculated on the second spreadsheet and if F2 is 5, then
enter $8,987.00 etc. Im not sure how to approach this. Any help would be
greatly appreciated. I am using Excel 2003.

Best regards,

Dee

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
I NEED HELP with the SPELLNUMBER Function vag Excel Worksheet Functions 0 June 21st 05 08:17 AM
Excel option to store trendline's coefficients in cells for use Miguel Saldana Charts and Charting in Excel 9 June 20th 05 08:45 PM
Date & Time mully New Users to Excel 4 May 23rd 05 11:56 AM
Automatically up date time in a cell Mark Excel Discussion (Misc queries) 5 May 12th 05 12:26 AM
clock Wildman Excel Worksheet Functions 2 April 26th 05 10:31 AM


All times are GMT +1. The time now is 10:24 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"